### Question:
MetadataMappingService implements FalconService, ConfigurationChangeListener, WorkflowExecutionListener { public Graph getGraph() { return graph; }  @Override String getName(); @Override void init(); static Graph initializeGraphDB(); static Configuration getConfiguration(); Graph getGraph(); KeyIndexableGraph getIndexableGraph(); TransactionalGraph getTransactionalGraph(); TitanBlueprintsGraph getTitanGraph(); Set<String> getVertexIndexedKeys(); Set<String> getEdgeIndexedKeys(); @Override void destroy(); @Override void onAdd(final Entity entity); @Override void onRemove(Entity entity); @Override void onChange(final Entity oldEntity, final Entity newEntity); @Override void onReload(Entity entity); @Override void onStart(final WorkflowExecutionContext context); @Override void onSuccess(final WorkflowExecutionContext context); @Override void onFailure(final WorkflowExecutionContext context); @Override void onSuspend(final WorkflowExecutionContext context); @Override void onWait(final WorkflowExecutionContext context); static final String SERVICE_NAME; static final String PROPERTY_KEY_STORAGE_BACKEND; static final String STORAGE_BACKEND_HBASE; static final String STORAGE_BACKEND_BDB; static final String PROPERTY_KEY_STORAGE_HOSTNAME; static final String PROPERTY_KEY_STORAGE_TABLE; static final Set<String> PROPERTY_KEYS_HBASE; static final String PROPERTY_KEY_STORAGE_DIRECTORY; static final String PROPERTY_KEY_SERIALIZE_PATH; static final Set<String> PROPERTY_KEYS_BDB; }### Answer:
@Test public void testOnAddClusterEntity() throws Exception { long beforeVerticesCount = getVerticesCount(service.getGraph()); long beforeEdgesCount = getEdgesCount(service.getGraph()); clusterEntity = addClusterEntity(CLUSTER_ENTITY_NAME, COLO_NAME, "classification=production"); verifyEntityWasAddedToGraph(CLUSTER_ENTITY_NAME, RelationshipType.CLUSTER_ENTITY); verifyClusterEntityEdges(); Assert.assertEquals(getVerticesCount(service.getGraph()), beforeVerticesCount + 4); Assert.assertEquals(getEdgesCount(service.getGraph()), beforeEdgesCount + 3); }