public void Test_OrdinaryPlugin() { var plugin = new TestPlugin(); Assert.AreEqual(PluginCategory.Common, plugin.Category); Assert.AreEqual(null, plugin.Icon); Assert.AreEqual(null, plugin.LangMan); Assert.AreEqual("TestPlugin", plugin.DisplayName); plugin.Startup(null); Assert.AreEqual(null, plugin.Host); plugin.OnHostClosing(null); plugin.OnHostActivate(); plugin.OnHostDeactivate(); plugin.OnLanguageChange(); plugin.Shutdown(); }