public void TestIncorrectStream()
 {
     OnlyStreamsSuffixStreamRule rule = new OnlyStreamsSuffixStreamRule();
     Assertion.AssertNotNull(rule.Check(typeof(MyStream)));
 }
 public void TestCorrectStream()
 {
     OnlyStreamsSuffixStreamRule rule = new OnlyStreamsSuffixStreamRule();
     Assertion.AssertNull(rule.Check(typeof(MyOtherClass)));
     Assertion.AssertNull(rule.Check(typeof(RealStream)));
 }