Bari.Core.Test.Commands.HelpTest.CalledWithoutArgumentPrintsDescriptions C# (CSharp) Method

CalledWithoutArgumentPrintsDescriptions() private method

private CalledWithoutArgumentPrintsDescriptions ( ) : void
return void
        public void CalledWithoutArgumentPrintsDescriptions()
        {
            var cmd = kernel.Get<ICommand>("help");
            cmd.Run(kernel.Get<Suite>(), new string[0]);

            output.Messages.Should().NotBeEmpty();
            output.Descriptions.Should().NotBeEmpty();
            output.Descriptions.Should().Contain(t => t.Item1 == "help");
        }