private NextValueWithTypeThrowsExceptionWithNullTypeTest ( ) : void | ||
return | void |
public void NextValueWithTypeThrowsExceptionWithNullTypeTest()
{
var target = Substitute.For<IRandomGenerator>();
Action action = () => target.NextValue((Type) null);
action.ShouldThrow<ArgumentNullException>();
}
}