@Test
void shouldCreateUnmutedMuteSwitch() {

    mockVolumeSlider.setValue(0.5);
    StackPane result = (StackPane) musicControl.createMuteSwitchButton(mockVolumeSlider);
    Button mute = (Button) result.getChildren().get(0);
    Button unmute = (Button) result.getChildren().get(1);
    assertTrue(mute.isVisible());
    assertFalse(unmute.isVisible());
}