private NextValueForByteArrayThrowsExceptionWithNullBufferTest ( ) : void | ||
Résultat | void |
public void NextValueForByteArrayThrowsExceptionWithNullBufferTest()
{
var target = new RandomGenerator();
Action action = () => target.NextValue(null);
action.ShouldThrow<ArgumentNullException>();
}