public void Email_Address_Variations_All_Match() { var emailSelector = new EmailSelector(); var emailTestClass = new EmailTestClass(); //Iterate over all of the properties in the EmailTestClass object... foreach (var property in emailTestClass.GetType().GetProperties()) { var emailSelectorResult = emailSelector.CanBind(property); Assert.IsTrue(emailSelectorResult, string.Format("{0} should have been a valid match", property.Name)); } }