class DbManagerFactory {
  /**
   * Private constructor.
   */
  private DbManagerFactory() {
  }

  /**
   * Init database.
   *
   * @param isMongo boolean
   * @return {@link DbManager}
   */
  public static DbManager initDb(final boolean isMongo) {<FILL_FUNCTION_BODY>}
}

    if (isMongo) {
      return new MongoDb();
    }
    return new VirtualDb();
  
<no_super_class>