public void BeginSearch_CallsStartSearchOnSsdpOnce()
        {
            var mock = new Mock<ISsdp>();

            var disco = new Discovery(mock.Object);
            disco.BeginSearch();

            mock.Verify(ssdp => ssdp.StartSearch(), Times.Once());
        }
Пример #2
0
 private void OnDeviceInformationFetchError()
 {
     Discovery.BeginSearch();
 }