ModelBuilder.UnitTests.UriValueGeneratorTests.IsSupportedThrowsExceptionWithNullTypeTest C# (CSharp) Method

IsSupportedThrowsExceptionWithNullTypeTest() private method

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

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

            var target = new UriValueGenerator();

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

            action.ShouldThrow<ArgumentNullException>();
        }