I agree with Daniel here. I think what could be tested is that the Window in fact does not let any mouse clicks pass through (which is the actual purpose of it).
In a nutshell:
- Open the Window, make it invisible
- Click somewhere in the window, make sure the click passes through
- Make it visible
- Click again in the window, make sure the click does NOT pass through it
I agree with Daniel here. I think what could be tested is that the Window in fact does not let any mouse clicks pass through (which is the actual purpose of it).
In a nutshell:
- Open the Window, make it invisible
- Click somewhere in the window, make sure the click passes through
- Make it visible
- Click again in the window, make sure the click does NOT pass through it