ModelBuilder.UnitTests.IPAddressValueGeneratorTests.GenerateThrowsExceptionWithNullTypeTest C# (CSharp) 메소드

GenerateThrowsExceptionWithNullTypeTest() 개인적인 메소드

private GenerateThrowsExceptionWithNullTypeTest ( ) : void
리턴 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>();
        }