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

            command.Execute(new string[] { hostname });

            client.Verify(x => x.CreateHostname(applicationId, hostname));
        }
 public void ShouldThrowIfNoArguments(AddHostnameCommand command)
 {
     Assert.Throws<CommandException>(() => command.Execute(new string[0]));
 }