public void FindNoByImplementedInterace() { var assemblyName = "test3.dll"; GenerateAssembly(plainType, assemblyName); FileAssert.Exists(assemblyName); Assert.IsFalse(TypeFinder.ByImplementedInterfaceInDirectory <ICloneable>(".", assemblyName).Any()); }
public void FindTypeByImplementedInterface() { var assemblyName = "test4.dll"; GenerateAssembly(typeImplementingInterface, assemblyName); FileAssert.Exists(assemblyName); var types = TypeFinder.ByImplementedInterfaceInDirectory <ICloneable>(".", assemblyName); Assert.IsTrue(types.Any()); }