@Test public void testDetachStripe_fail_srcNotPartOfCluster() { DetachCommand command = newCommand(); command.setSourceIdentifier(Identifier.valueOf(strayNode.getInternalAddress().toString())); command.setOperationType(STRIPE); command.setDestinationAddress(node2_1.getInternalAddress()); assertThat( command::run, is(throwing(instanceOf(IllegalStateException.class)).andMessage(containsString("not part of cluster")))); }
public void setSourceIdentifier(Identifier sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; }
DetachCommand extends TopologyCommand { public void setSourceIdentifier(Identifier sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; } }
DetachCommand extends TopologyCommand { public void setSourceIdentifier(Identifier sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; }  }
DetachCommand extends TopologyCommand { public void setSourceIdentifier(Identifier sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; }  void setStopWaitTime(Measure<TimeUnit> stopWaitTime); void setStopDelay(Measure<TimeUnit> stopDelay); void setSourceIdentifier(Identifier sourceIdentifier); @Override void validate(); }
DetachCommand extends TopologyCommand { public void setSourceIdentifier(Identifier sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; }  void setStopWaitTime(Measure<TimeUnit> stopWaitTime); void setStopDelay(Measure<TimeUnit> stopDelay); void setSourceIdentifier(Identifier sourceIdentifier); @Override void validate();  }