TopologyCommand extends RemoteCommand { OperationType getOperationType() { return operationType; }  void setOperationType(OperationType operationType); void setDestinationAddress(InetSocketAddress destinationAddress); void setForce(boolean force); void validate(); @Override void run(); @Inject public ObjectMapperFactory objectMapperFactory; }
@Test public void test_defaults() { C command = newCommand(); assertThat(command.getOperationType(), is(equalTo(NODE))); }