public static void HasBrokenProperties <T>(BrokenRules actualBrokenRules,
                                            params Expression <Func <T, object> >[] expectedBadProperties)
 {
     foreach (var expectedBadProperty in expectedBadProperties)
     {
         string propertyName = ReflectionUtil.GetPropertyNames(expectedBadProperty);
         bool   found        = actualBrokenRules.Any(failure => failure.PropertyName == propertyName);
         Assert.That(found, Is.True, String.Format("Expected to find an error for property {0}", propertyName));
     }
 }