ModelBuilder.UnitTests.RandomGeneratorTests.NextValueForByteArrayThrowsExceptionWithNullBufferTest C# (CSharp) Метод

NextValueForByteArrayThrowsExceptionWithNullBufferTest() приватный Метод

private NextValueForByteArrayThrowsExceptionWithNullBufferTest ( ) : void
Результат void
        public void NextValueForByteArrayThrowsExceptionWithNullBufferTest()
        {
            var target = new RandomGenerator();

            Action action = () => target.NextValue(null);

            action.ShouldThrow<ArgumentNullException>();
        }