public void ShouldThrowExceptionWhenRunIsCalledIfTimeIsZeroAndAttachPointsWereSet() { Assert.Throws <ArgumentOutOfRangeException>(() => { ModularInput.Run <TestDebugInput>(new string[0], DebuggerAttachPoints.StreamEvents, 0); }); }
public void ShouldNotThrowExceptionWhenRunIsCalledIfTimeIsZeroAndAttachPointsWereNotSet() { ModularInput.Run <TestDebugInput>(new string[0], DebuggerAttachPoints.None, 0); }
public void ShouldInvokeRunAsyncWhenRunIsCalled() { ModularInput.Run <TestDebugInput>(new string[0]); Assert.True(TestDebugInput.Executed); }