public void Execute_PrintsSomethingToTheLog()
        {
            var log = new Mock<ILog>();
            log.Setup(x => x.Info(It.IsAny<string>()));
            var config = new ArgumentParser().Parse(new List<string>());
            var cmd = new HelpCommand(config, log.Object);

            cmd.Execute();

            log.Verify(x=>x.Info(It.IsAny<string>()));
        }
        public void Execute_PrintsSomethingUseful()
        {
            var log = new Mock<ILog>();
            log.Setup(x => x.Info(It.IsAny<string>()));

            var config = new ArgumentParser().Parse(new List<string>());
            var cmd = new HelpCommand(config, log.Object);

            cmd.Execute();

            log.Verify(x=>x.Info(It.Is<string>(y=>y.Contains("-app"))));
            log.Verify(x=>x.Info(It.Is<string>(y=>y.Contains("-v"))));
            log.Verify(x=>x.Info(It.Is<string>(y=>y.Contains("-help"))));
            log.Verify(x=>x.Info(It.Is<string>(y=>y.Contains("-install"))));
            log.Verify(x=>x.Info(It.Is<string>(y=>y.Contains("-i"))));
        }