public void BeginSearch_CallsStartSearchOnSsdpOnce() { var mock = new Mock<ISsdp>(); var disco = new Discovery(mock.Object); disco.BeginSearch(); mock.Verify(ssdp => ssdp.StartSearch(), Times.Once()); }
private void OnDeviceInformationFetchError() { Discovery.BeginSearch(); }