Наследование: ApplicationCommand
        public void ShouldAddConfigurationVariables(string arguments,
			[Frozen]Mock<IApplicationConfiguration> applicationConfiguration,
			[Frozen]Mock<IAppHarborClient> client,
			AddConfigCommand command, string applicationId)
        {
            applicationConfiguration.Setup(x => x.GetApplicationId()).Returns(applicationId);
            var configPairs = arguments.Split();

            command.Execute(configPairs);

            foreach (var configPair in configPairs)
            {
                var splitted = configPair.Split('=');
                client.Verify(x => x.CreateConfigurationVariable(applicationId, splitted[0], splitted[1]));
            }
        }
 public void ShouldThrowIfNoArguments(AddConfigCommand command)
 {
     Assert.Throws<CommandException>(() => command.Execute(new string[0]));
 }