@Test
void shouldCreateEventsHandlersForMediaButtonWithSetUpEventMethodCall() {

    MediaButton mediaButton = new MediaButton(500, 500);
    EventHandler<ActionEvent> testEvent = e -> {
        String testString = "test";
    };
    mediaButton.setupEvent(testEvent, progressIndicator);
    Assertions.assertNotEquals(mediaButton.getClickEvent(), (MediaButton.emptyEvent));
    Assertions.assertNotEquals(mediaButton.getEnterEvent(), (MediaButton.emptyEvent));
    Assertions.assertNotEquals(mediaButton.getExitEvent(), (MediaButton.emptyEvent));
}