@Test
@ExpectSystemExitWithStatus(0)
void shouldCreateExitButton() {

    UserProfileContext context = new UserProfileContext(mockGazePlay);
    BorderPane topPane = (BorderPane) context.getRoot().getTop();
    HBox topRightPane = (HBox) topPane.getRight();
    CustomButton exitButton = (CustomButton) topRightPane.getChildren().get(0);
    exitButton.fireEvent(TestingUtils.clickOnTarget(exitButton));
}