SpeechRecognitionEvent implements STTEvent { public String getTranscript() { return this.transcript; } SpeechRecognitionEvent(String transcript, float confidence); String getTranscript(); float getConfidence();  }
@Test public void getTranscriptTest() { SpeechRecognitionEvent sRE = new SpeechRecognitionEvent("Message", 0.5f); assertEquals("Message", sRE.getTranscript(), "SpeechRecognitionEvent.getTranscript() method failed"); }