ModelBuilder.UnitTests.DomainNameValueGeneratorTests.GenerateThrowsExceptionWithNullTypeTest C# (CSharp) Méthode

GenerateThrowsExceptionWithNullTypeTest() private méthode

private GenerateThrowsExceptionWithNullTypeTest ( ) : void
Résultat void
        public void GenerateThrowsExceptionWithNullTypeTest()
        {
            var target = new DomainNameValueGenerator();

            Action action = () => target.Generate(null, null, null);

            action.ShouldThrow<ArgumentNullException>();
        }