@Test
void shouldReturnToMenuOnHomeButtonPress() throws InterruptedException {

    Platform.runLater(() -> {
        ConfigurationContext context = new ConfigurationContext(mockGazePlay);
        HomeButton button = context.createHomeButtonInConfigurationManagementScreen(mockGazePlay);
        button.fireEvent(TestingUtils.clickOnTarget(button));
        verify(mockGazePlay).onReturnToMenu();
    });
    TestingUtils.waitForRunLater();
}