ModelBuilder.UnitTests.CompanyValueGeneratorTests.GenerateThrowsExceptionWithInvalidParametersTest C# (CSharp) Method

GenerateThrowsExceptionWithInvalidParametersTest() private method

private GenerateThrowsExceptionWithInvalidParametersTest ( Type type, string referenceName ) : void
type System.Type
referenceName string
return void
        public void GenerateThrowsExceptionWithInvalidParametersTest(Type type, string referenceName)
        {
            var target = new CompanyValueGenerator();

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

            action.ShouldThrow<NotSupportedException>();
        }