@Test
void shouldSetUpGraphicForMediaButtonWithMediaFileSetUpWithImagePath() {

    MediaButton mediaButton = new MediaButton(500, 500);
    MediaFile mediaFile = new MediaFile("URL", "https://github.com/GazePlay/GazePlay", "gazeplayTest", "src/test/resources/images/blue/blue.jpg");
    mediaButton.setMediaFile(mediaFile);
    mediaButton.setupImage();
    ImageView graphicImageView = (ImageView) mediaButton.getButton().getGraphic();
    Assertions.assertTrue(graphicImageView.getImage().getUrl().contains("blue.jpg"));
}