@Test
public void testReset() {

    NSSpeechSynthesizer ss = NSSpeechSynthesizer.synthesizerWithVoice(null);
    float pitchBase = ss.getPitchBase();
    assertTrue(pitchBase > 0.0f);
    ss.setPitchBase(pitchBase + 1.0f);
    assertEquals(pitchBase + 1.0f, ss.getPitchBase(), 0.001);
    ss.reset();
    assertEquals(pitchBase, ss.getPitchBase(), 0.001);
}