ModelBuilder.UnitTests.DefaultTypeCreatorTests.CreateThrowsExceptionWhenNoTypeNotSupportedTest C# (CSharp) Method

CreateThrowsExceptionWhenNoTypeNotSupportedTest() private method

private CreateThrowsExceptionWhenNoTypeNotSupportedTest ( ) : void
return void
        public void CreateThrowsExceptionWhenNoTypeNotSupportedTest()
        {
            var target = new DefaultTypeCreator();

            Action action = () => target.Create(typeof(Stream), null, null);

            action.ShouldThrow<NotSupportedException>();
        }