Exemple #1
0
 private static bool ContainsProperty(this TestClass testObject, string propertyName)
 {
     return(testObject.PropertyNames.Contains(propertyName));
 }
Exemple #2
0
 internal static void ShouldNotContainProperty(this TestClass testObject, string propertyName)
 {
     testObject.ContainsProperty(propertyName).Should().BeFalse();
 }