It is useful to know where the focus actually is when a test checking that it's set to a particular window fails.
With wxSTC, popup autocompletion lists and call tips need to be able to show their information and respond to mouse clicks, but should never take focus from their parent STC. This test verifies that these popups function in this manner.