ModelBuilder.UnitTests.IPAddressValueGeneratorTests.GenerateThrowsExceptionWithNullTypeTest C# (CSharp) Method

GenerateThrowsExceptionWithNullTypeTest() private method

private GenerateThrowsExceptionWithNullTypeTest ( ) : void
return void
        public void GenerateThrowsExceptionWithNullTypeTest()
        {
            var buildChain = new LinkedList<object>();

            buildChain.AddFirst(Guid.NewGuid().ToString());

            var target = new IPAddressValueGenerator();

            Action action = () => target.Generate(null, Guid.NewGuid().ToString(), buildChain);

            action.ShouldThrow<ArgumentNullException>();
        }