public void ReturnsTrueForTypeDirectImplementingInterface() { var type = typeof(A); Assert.IsTrue(type.ImplementsInterfaceEx<ISomeInterface>()); }