OperationState implements Identifiable<String> { public String getLocator() { return this.locator; } 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 getLocator() { String locator = "locator"; OperationState operationState = new OperationState(null, null, null); operationState.setLocator(locator); assertThat(operationState.getLocator()).isSameAs(locator); }