code: function getEntityCollectionName(Entity) {
    expect(arguments).to.have.length(
      1,
      'Invalid arguments length when getting the collection name of an Entity ' +
      'class (it has to be passed 1 argument)'
    );
  
    expect(Entity).to.be.a(
      'function',
      'Invalid argument "Entity" when getting the collection name of an ' +
      'Entity (it has to be an Entity class)'
    );
  
    expect(classes.isGeneral(entity.models.Entity, Entity)).to.equal(
      true,
      'Invalid argument "Entity" when getting the collection name of an ' +
      'Entity (it has to be an Entity class)'
    );
  
    while (
      Entity.General !== null &&
      !Entity.General.specification.isAbstract
      ) {
      Entity = Entity.General;
    }
  
    return Entity.dataName;
  }
docs: Gets the collection name in which the objects of a given Entity shall be
  saved.
  @name module:back4app-entity-mongodb.MongoAdapter#getEntityCollectionName
  @function
  @param {!Class} Entity The Entity class whose collection name will be get.
  @returns {string} The collection name.
  @example
  var entityCollectionName = mongoAdapter.getEntityCollectionName(MyEntity);