public void Validation_ShouldDefaultsServiceInfoFromCommand() { _cmd.CommandLine = "test"; var errors = _cmd.GetArgValidationErrors().ToList(); errors.Should().BeEmpty(); var testCommand = new TestServiceCommand(); _cmd.ServiceName.Should().Be(testCommand.ServiceName); _cmd.DisplayName.Should().Be(testCommand.DisplayName); _cmd.Description.Should().Be(testCommand.Description); }