public void TestCorrectNamespaces()
 {
     AvoidNamespacesWithFewMembers rule = new AvoidNamespacesWithFewMembers();
     Assertion.AssertNull(rule.Check("MyNamespace", new Type[] {typeof(System.Object),
                                                                  typeof(System.Object),
                                                                  typeof(System.Object),
                                                                  typeof(System.Object),
                                                                  typeof(System.Object),
                                                                  typeof(System.Object)}));
 }
 public void TestIncorrectAttribute()
 {
     AvoidNamespacesWithFewMembers rule = new AvoidNamespacesWithFewMembers();
     Assertion.AssertNotNull(rule.Check("a", new Type[] {}));
 }