@Test
void shouldCreateMutedMuteSwitch() {

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