問題文
An MUnit test must exercise a flow whose first element is an HTTP listener, and the test itself sends a request to that listener. The test fails because the listener was never started. What is missing?
選択肢
- The test does not declare the flow as a mocked processor, so MUnit did not replace the listener for the duration of that test.
- The test does not declare the flow in a before-suite section, so MUnit did not initialize the listener before the tests of that suite.
- The test does not declare the flow as an enabled flow source, so MUnit did not start the listener for the duration of that test.
- The test does not declare the flow in the coverage configuration, so MUnit did not instrument the listener in that suite.