@Override
  public void onCreateDatabase(CreateDatabaseEvent db) throws MetaException {
    addEvent(db);
  }
@return The last event received, or null if no event was received.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyListener.java