private NextValueThrowsExceptionWithMinimumAndMaximumWhenGeneratorIsNullTest ( ) : void | ||
리턴 | void |
public void NextValueThrowsExceptionWithMinimumAndMaximumWhenGeneratorIsNullTest()
{
RandomGenerator target = null;
Action action = () => target.NextValue(1, 10);
action.ShouldThrow<ArgumentNullException>();
}