public void WhenAnyCharacterCalled() { _minValue = 'd'; _maxValue = 'x'; _returnedValue = Any.Character(_minValue, _maxValue); }
public void WhenAnyCharacterCalled() { _minValue = 'A'; _maxValue = 'z'; _returnedValue = Any.Character(); }
public void ThenArgumentOutOfRangeExceptionIsThrown() { try { Any.Character(_minValue, _maxValue); } catch (ArgumentOutOfRangeException argumentOutOfRangeException) { Assert.Pass(); } Assert.Fail("Expected exception not thrown"); }