public void TestCorrectCollection()
 {
     OnlyCollectionsSuffixCollectionRule rule = new OnlyCollectionsSuffixCollectionRule();
     Assertion.AssertNull(rule.Check(typeof(MyCollection)));
     Assertion.AssertNull(rule.Check(typeof(OtherClass)));
 }
 public void TestCorrectQueue()
 {
     OnlyCollectionsSuffixCollectionRule rule = new OnlyCollectionsSuffixCollectionRule();
     Assertion.AssertNull(rule.Check(typeof(MyQueue)));
 }
 public void TestIncorrectStack()
 {
     OnlyCollectionsSuffixCollectionRule rule = new OnlyCollectionsSuffixCollectionRule();
     Assertion.AssertNotNull(rule.Check(typeof(My2Stack)));
 }