Question 233 of 315
Single answer
You are planning to add unit tests to your application. You need to be able to assert that published Pub/Sub messages are processed by your subscriber in order. You want the unit tests to be cost-effective and reliable.
What should you do?
What should you do?
AImplement a mocking framework.
BCreate a topic and subscription for each tester.
CAdd a filter by tester to the subscription.
✓DUse the Pub/Sub emulator.
✓
Correct Answer: D
Use the Pub/Sub emulator.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.