@Test public void onRemoveFromCollectionDoesNothing() { Vertex nullVertex = null; instance.onRemoveFromCollection(NULL_COLLECTION, Optional.empty(), nullVertex); verifyZeroInteractions(indexHandler); }
@Override public void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex) { }
IdIndexChangeListener implements ChangeListener { @Override public void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex) { } }
IdIndexChangeListener implements ChangeListener { @Override public void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex) { } IdIndexChangeListener(IndexHandler indexHandler); }
IdIndexChangeListener implements ChangeListener { @Override public void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex) { } IdIndexChangeListener(IndexHandler indexHandler); @Override void onCreate(Collection collection, Vertex vertex); @Override void onPropertyUpdate(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex); @Override void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex); @Override void onAddToCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex); @Override void onCreateEdge(Collection collection, Edge edge); @Override void onEdgeUpdate(Collection collection, Edge oldEdge, Edge newEdge); }
IdIndexChangeListener implements ChangeListener { @Override public void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex) { } IdIndexChangeListener(IndexHandler indexHandler); @Override void onCreate(Collection collection, Vertex vertex); @Override void onPropertyUpdate(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex); @Override void onRemoveFromCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex); @Override void onAddToCollection(Collection collection, Optional<Vertex> oldVertex, Vertex newVertex); @Override void onCreateEdge(Collection collection, Edge edge); @Override void onEdgeUpdate(Collection collection, Edge oldEdge, Edge newEdge);  }