use of org.eclipse.smarthome.core.voice.internal.AudioSourceStub in project smarthome by eclipse.
the class VoiceConsoleCommandExtensionTest method setup.
@Before
public void setup() {
voiceManager = getService(VoiceManager.class, VoiceManagerImpl.class);
assertNotNull(voiceManager);
extensionService = getService(ConsoleCommandExtension.class, VoiceConsoleCommandExtension.class);
assertNotNull(extensionService);
sink = new SinkStub();
source = new AudioSourceStub();
audioManager = new AudioManagerStub();
console = new ConsoleStub();
registerService(audioManager);
registerService(voiceManager);
}
Aggregations