@Test
public void testDefaultVoice() {

    assertNotNull(NSSpeechSynthesizer.CLASS.defaultVoice()); //System preference, so no way of knowing actual value
    assertNotNull(NSSpeechSynthesizer.defaultVoice().getName());
    assertNotNull(NSSpeechSynthesizer.synthesizerWithVoice(null));
    assertEquals(NSSpeechSynthesizer.defaultVoice(), NSSpeechSynthesizer.synthesizerWithVoice(null).getVoice());
}