public void GetInstance_DoesNotExist()
        {
            var source   = new ScriptHandlerSource();
            var instance = source.GetInstance(Command.Create("X", null), null);

            instance.Should().BeNull();
        }
        public void GetInstance_Test()
        {
            var target = new ScriptHandlerSource();

            target.AddScript("test", new[] { "echo 'test'" });
            var result = target.GetInstance(Command.Create("test", null), new CommandDispatcher(null, null, null, null, null));

            result.Should().NotBeNull();
        }