private NextValueThrowsExceptionWithNullGeneratorTest ( ) : void | ||
리턴 | void |
public void NextValueThrowsExceptionWithNullGeneratorTest()
{
IRandomGenerator target = null;
Action action = () => target.NextValue<int>();
action.ShouldThrow<ArgumentNullException>();
}