@Test public void testDeploymentGroupInspectCommand() throws Exception { when(options.getString("name")).thenReturn(NAME); final int ret = command.run(options, client, out, false, null); assertEquals(0, ret); final String output = baos.toString(); assertThat(output, containsString("Name: " + NAME)); assertThat(output, containsString("Host selectors:")); assertThat(output, containsString(" foo = bar")); assertThat(output, containsString(" baz = qux")); assertThat(output, containsString("Job: " + JOB.toString())); }
public DeploymentGroupInspectCommand(final Subparser parser) { super(parser); parser.help("inspect a deployment group"); nameArg = parser.addArgument("name") .required(true) .help("Deployment group name"); }
DeploymentGroupInspectCommand extends ControlCommand { public DeploymentGroupInspectCommand(final Subparser parser) { super(parser); parser.help("inspect a deployment group"); nameArg = parser.addArgument("name") .required(true) .help("Deployment group name"); } }
DeploymentGroupInspectCommand extends ControlCommand { public DeploymentGroupInspectCommand(final Subparser parser) { super(parser); parser.help("inspect a deployment group"); nameArg = parser.addArgument("name") .required(true) .help("Deployment group name"); } DeploymentGroupInspectCommand(final Subparser parser); }
DeploymentGroupInspectCommand extends ControlCommand { public DeploymentGroupInspectCommand(final Subparser parser) { super(parser); parser.help("inspect a deployment group"); nameArg = parser.addArgument("name") .required(true) .help("Deployment group name"); } DeploymentGroupInspectCommand(final Subparser parser);  }
DeploymentGroupInspectCommand extends ControlCommand { public DeploymentGroupInspectCommand(final Subparser parser) { super(parser); parser.help("inspect a deployment group"); nameArg = parser.addArgument("name") .required(true) .help("Deployment group name"); } DeploymentGroupInspectCommand(final Subparser parser);   }