public void ReturnsRightTypes() { var interfaces = TypeCache.GetTypesImplementingInterface(typeof (IMySpecialInterface)); Assert.AreEqual(1, interfaces.Length); Assert.AreEqual(typeof(MySpecialClass), interfaces[0]); } }