manifestation.exitLockedState();
Graphics mockGraphics = Mockito.mock(Graphics.class);
Rectangle rectangle = new Rectangle();
Mockito.when(mockGraphics.getClipBounds()).thenReturn(rectangle);
controlGlass.paintComponent(mockGraphics);
Mockito.verify(mockGraphics).setColor(Mockito.any(Color.class));
Mockito.verify(mockGraphics).fillRect(0, 0, 0, 0);
// now check that we don't use the graphics context when we are in transparent mode
manifestation.enterLockedState();