ADLTest.CloudeoServiceDevicesTest.testGetAudioOutputDevice C# (CSharp) Method

testGetAudioOutputDevice() private method

private testGetAudioOutputDevice ( ) : void
return void
        public void testGetAudioOutputDevice()
        {
            Dictionary<string, string> devs = null; ;
            _service.getAudioOutputDeviceNames(createDevsResponder());
            devs = awaitDictResult("getAudioOutputDeviceNames");
            Assert.IsTrue(devs.Count > 0);
            _service.setAudioOutputDevice(createVoidResponder(), devs.Keys.First());
            awaitVoidResult("setAudioOutputDevice");
            _service.getAudioOutputDevice(createStringResponder());
            Assert.AreEqual(devs.Keys.First(), awaitStringResult("getAudioOutputDevice"));
        }