public void Start_ForIsListeningTrue_DoesNotCallWatcherStart( Watcher sut, [Freeze] IWrapper wrapper) { wrapper.Status .Returns(Status.Started); sut.Start(); wrapper.DidNotReceive() .Start(); }
public void Stop_ForIsListeningFalse_DoesNotCallWatcherStop( Watcher sut, [Freeze] IWrapper wrapper) { wrapper.Status .Returns(Status.Created); sut.Stop(); wrapper.DidNotReceive() .Stop(); }