Bari.Core.Test.Commands.HelpTest.CalledWithoutArgumentPrintsDescriptions C# (CSharp) Méthode

CalledWithoutArgumentPrintsDescriptions() private méthode

private CalledWithoutArgumentPrintsDescriptions ( ) : void
Résultat 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");
        }