OperationState implements Identifiable<String> { public A getOperation() { return operation; } OperationState(String opId, A operation, Date operationStart); String getLocator(); void setLocator(
      String locator); @Override boolean equals(Object o); @Override int hashCode(); @Override String getId(); A getOperation(); Date getOperationStart(); void setOperationEnd(Date operationEnd, V result, Throwable exception); Date getOperationEnd(); V getResult(); Throwable getThrowable();  }
@Test public void getOperation() { ClusterManagementOperation<?> operation = mock(ClusterManagementOperation.class); OperationState<?, ?> operationState = new OperationState<>(null, operation, null); assertThat(operationState.getOperation()).isSameAs(operation); }