public void CanRun_WhenStopped_ReturnsFalse() { // Given: A valid Application Runner // When: StopsRunning is called ApplicationRunner.StopRunning(); // Verify: That CanRun is now false Assert.That(ApplicationRunner.CanRun(), Is.False); }
public override void Execute(List <string> commandArgs) { ApplicationRunner.StopRunning(); }