AgentStoreObserver implements StoreUpdateObserver<String, M> { @Override public void handleRemove(String key, M oldValue) { agent.deletedModel(key, oldValue); }  @Override void handleNew(String key, M value); @Override void handleUpdate(String key, M oldValue, M newValue); @Override void handleRemove(String key, M oldValue);  }
@Test public void handleRemoveTest() throws Exception { observer.handleRemove("key", JSON_STRING_1); verify(agent).deletedModel("key", JSON_STRING_1); }