OperationState implements Identifiable<String> { @Override public String getId() { return opId; } 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 getId() { OperationState<?, ?> operationState = new OperationState<>("opId", null, null); assertThat(operationState.getId()).isEqualTo("opId"); }