public void RecordingIsNotSupported() { const int NoRecordingDevice = -1; proxy.Setup(p => p.GetRecordingDevice()).Returns(NoRecordingDevice); Assert.Throws <BassException>(() => soundCaptureService.ReadMonoSamples(SampleRate, 10)); }
public void RecordingIsNotSupported() { const int NoRecordingDevice = -1; proxy.Setup(p => p.GetRecordingDevice()).Returns(NoRecordingDevice); soundCaptureService.ReadMonoSamples(SampleRate, 10); }