public function testMany2Many()
    {
        $object = new Many2Many();
        $this->assertEquals('* @method $this addManies(Many2Many $manies)
* @method Many2Many[] getManies()
* @method $this removeManies(Many2Many $manies)
* @method $this setManies(array $manies)
', $object->_generatePhpDoc());
    }
 public function testMany2ManyWithSet()
 {
     $many1 = new Many2Many();
     $many2 = new Many2Many();
     $many1->setManies(array($many2));
     $this->assertInstanceOf('Saxulum\\Tests\\Accessor\\Fixtures\\Mapping\\Many2Many', $many1->getManies()[0]);
     $this->assertInstanceOf('Saxulum\\Tests\\Accessor\\Fixtures\\Mapping\\Many2Many', $many2->getManies()[0]);
     $many2->setManies(array());
     $this->assertCount(0, $many1->getManies());
     $this->assertCount(0, $many2->getManies());
 }