public void TestIncorrectAttribute() { InterfacesPrefixIsI interfacesPrefixIsI = new InterfacesPrefixIsI(); Assertion.AssertNotNull(interfacesPrefixIsI.Check(typeof(WrongInterface))); }
public void TestCorrectAttribute() { InterfacesPrefixIsI interfacesPrefixIsI = new InterfacesPrefixIsI(); Assertion.AssertNull(interfacesPrefixIsI.Check(typeof(System.ICloneable))); Assertion.AssertNull(interfacesPrefixIsI.Check(typeof(System.IComparable))); Assertion.AssertNull(interfacesPrefixIsI.Check(typeof(ICorrectInterface))); }