フリー問題

Salesforce Certified MuleSoft Developer II のフリー問題 6 / 20 問目

問題文

An MUnit test covers a flow that calls an external payment provider, and the pipeline runs where that provider is unreachable. What does the test do about that call?

選択肢

  1. It removes the call from the flow before the suite starts so that the flow under test runs along a shorter path than in production.
  2. It substitutes the call with a mock that returns a prepared payload so that the flow under test runs with the provider left out of it.
  3. It surrounds the call with a spy that records the arguments it received so that the flow under test runs against the provider as usual.
  4. It redirects the call at a second environment while the suite runs so that the flow under test reaches a copy of the provider.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。