isIdGeneratorRepository() public method

Checks whether the class will generate an id via the repository.
public isIdGeneratorRepository ( ) : boolean
return boolean TRUE if the class uses the Repository generator, FALSE otherwise.
 /**
  * @depends testLoadRepositoryMapping
  * @param ClassMetadata $class
  */
 public function testRepositoryMapping($class)
 {
     $this->assertEquals('Doctrine\\Tests\\ODM\\PHPCR\\Mapping\\Model\\DocumentRepository', $class->customRepositoryClassName);
     $this->assertTrue($class->isIdGeneratorRepository());
 }