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