public void TestCorrectAttribute()
 {
     TypesShouldBeInNamespacesRule rule = new TypesShouldBeInNamespacesRule();
     Assertion.AssertNull(rule.Check(typeof(System.ICloneable)));
     Assertion.AssertNull(rule.Check(typeof(TypesShouldBeInNamespacesRuleTest)));
     Assertion.AssertNull(rule.Check(typeof(ICorrectInterface)));
 }
 public void TestIncorrectAttribute()
 {
     TypesShouldBeInNamespacesRule rule = new TypesShouldBeInNamespacesRule();
     Assertion.AssertNotNull(rule.Check(typeof(OutsideNamespace)));
 }