@Test
void shouldCreateAnAnimatedLogo() {

    when(stage.getHeight()).thenReturn(100d);
    LogoFactory logoFactory = LogoFactory.getInstance();
    Pane result = (Pane) logoFactory.createLogoAnimated(stage);
    assertEquals(9, result.getChildren().size());
}