public void GetTestExtensionTypeShouldThrowIfTypeNotFound() { Assert.ThrowsException <TypeLoadException>(() => TestPluginManager.GetTestExtensionType("randomassemblyname.random")); }
public void GetTestExtensionTypeShouldReturnExtensionType() { var type = TestPluginManager.GetTestExtensionType(typeof(TestPluginManagerTests).AssemblyQualifiedName); Assert.AreEqual(typeof(TestPluginManagerTests), type); }