public void WillNotDiscoverClassWithTheNoExportAttribute() { // Act var exports = Discovery.ClassExports(Assembly.GetAssembly(typeof(Dog))); //Assert Assert.False(exports.Any(p => p.Item1 == typeof(Hippo))); }
public void CanFindDiscoverExportedClasses() { // Act var exports = Discovery.ClassExports(Assembly.GetAssembly(typeof(Dog))); //Assert Assert.True(exports.Any(p => p.Item1 == typeof(Cat))); }