public void PluginWrapperCanStopPlugins()
        {
            // arrange
            var wrapper = new PluginWrapper(typeof(ExamplePlugin));
            wrapper.Start();

            // act
            var success = wrapper.TryUnload();

            // assert
            success.ShouldBeEquivalentTo(true);
            wrapper.Plugin.Should().Be(null);
        }
        public void PluginWrapperCanCreatePlugins()
        {
            // arrange

            // act
            var wrapper = new PluginWrapper(typeof(ExamplePlugin));
            wrapper.Start();

            // assert
            var currentDomainName = AppDomain.CurrentDomain.FriendlyName;
            wrapper.Plugin.Should().BeOfType<ExamplePlugin>();
            wrapper.Plugin.DoStuff().Should().BeEquivalentTo("AppDomainTests.PluginWrapperTests+ExamplePlugin");
        }