ModelBuilder.UnitTests.DefaultTypeCreatorTests.CreateThrowsExceptionWhenNoTypeNotSupportedTest C# (CSharp) Méthode

CreateThrowsExceptionWhenNoTypeNotSupportedTest() private méthode

private CreateThrowsExceptionWhenNoTypeNotSupportedTest ( ) : void
Résultat void
        public void CreateThrowsExceptionWhenNoTypeNotSupportedTest()
        {
            var target = new DefaultTypeCreator();

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

            action.ShouldThrow<NotSupportedException>();
        }