Exemplo n.º 1
0
 public void GetTestExtensionTypeShouldThrowIfTypeNotFound()
 {
     Assert.ThrowsException <TypeLoadException>(() => TestPluginManager.GetTestExtensionType("randomassemblyname.random"));
 }
Exemplo n.º 2
0
        public void GetTestExtensionTypeShouldReturnExtensionType()
        {
            var type = TestPluginManager.GetTestExtensionType(typeof(TestPluginManagerTests).AssemblyQualifiedName);

            Assert.AreEqual(typeof(TestPluginManagerTests), type);
        }