ensureThat(gamePanel.isShowing());
}
public void shouldHaveLabelDisplayingGameOverMessageWhenGameOver() throws Exception {
frame.reportGameStateChanged(GameState.RUNNING);
new Idler().waitForIdle();
JLabel label = (JLabel) windowWrapper.findComponent(ComponentNames.GAME_MESSAGE);
ensureThat(label.getText(), eq(""));
frame.reportGameStateChanged(GameState.OVER);
new Idler().waitForIdle();
ensureThat(label.getText(), eq("Game over, man! Game over!"));
}