public void Should_return_correct_type()
        {
            PluginElement pluginElement = new PluginElement();
            pluginElement.TypeStr = "BuildScreen.Tests.Core.Plugin.Configuration.Dummyplugin, BuildScreen.Tests";

            Assert.That(pluginElement.PluginType, Is.EqualTo(new Dummyplugin().GetType()));
        }
        public void Should_not_be_able_to_create_type_from_invalid_type_string()
        {
            PluginElement pluginElement = new PluginElement();
            pluginElement.TypeStr = "BuildScreen.Tests.Core.Plugin.Configuration.DummypluginNotExistingType, BuildScreen.Tests";
            pluginElement.Name = "DummyName";

            Assert.That(pluginElement.PluginType, Is.EqualTo(new Dummyplugin().GetType()));
        }
        public void Should_not_be_able_to_create_type_which_dont_implement_IBuildScreenPlugin()
        {
            PluginElement pluginElement = new PluginElement();
            pluginElement.TypeStr = "BuildScreen.Tests.Core.Plugin.Configuration.Dummyplugin";
            pluginElement.Name = "BuildScreen.Tests.dll";

            //pluginElement.TypeStr = "BuildScreen.Tests.Core.Plugin.Configuration.PluginElementTests, BuildScreen.Tests";

            Assert.That(pluginElement.PluginType, Is.EqualTo(new Dummyplugin().GetType()));
        }