public void NextValueForByteArrayThrowsExceptionWithNullBufferTest() { var target = new RandomGenerator(); Action action = () => target.NextValue(null); action.ShouldThrow<ArgumentNullException>(); }