@Test
public void test() throws IOException, AgiException {
RemoteSwiftTextToSpeechFactoryImpl factory = new RemoteSwiftTextToSpeechFactoryImpl();
AgiOperations opts = Mockito.mock(AgiOperations.class);
Mockito.when(opts.getVariable("swift_stream_file")).thenReturn("path/to/file");
factory.getAudio(opts, "Hello A, Hello B", "0123456789*#");
Mockito.verify(opts).exec("AGI","agi-ensure-swift-stream-file.agi,swift_stream_file,Hello A\\, Hello B");
Mockito.verify(opts).getVariable("swift_stream_file");