public void Fails_validation_when_all_parameters_are_null(int petTypeId, string petType)
        {
            var myTestClass = new MyTestCase1 {
                PetType = petType, PetTypeId = petTypeId
            };

            Assert.False(TryValidateObject(myTestClass, out var context, out var results, true));
        }
        public void Passes_validation_when_at_least_one_parameter_is_not_null(int petTypeId, string petType)
        {
            var myTestClass = new MyTestCase1 {
                PetType = petType, PetTypeId = petTypeId
            };

            Assert.True(TryValidateObject(myTestClass, out var context, out var results, true));
        }