How to test if user finished watching ad in test mode?

I am using the code snippet from here:

https://unityads.unity3d.com/help/unity/integration-guide-unity?_ga=2.154744568.1375975906.1587069041-1280922944.1584660469

This seems to work as expected and the test ad loads fine. The ad just says that its working fine. However in test mode, I only see a close button which closes the add. How do I simulate if the ad was watched completely in the test mode?

Found it. After adding some debug statements i see that when you click on the close button, the ad finishes.