コード例 #1
0
 public void GetTestExtensionTypeShouldThrowIfTypeNotFound()
 {
     Assert.ThrowsException <TypeLoadException>(() => TestPluginManager.GetTestExtensionType("randomassemblyname.random"));
 }
コード例 #2
0
        public void GetTestExtensionTypeShouldReturnExtensionType()
        {
            var type = TestPluginManager.GetTestExtensionType(typeof(TestPluginManagerTests).AssemblyQualifiedName);

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