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