/** * @covers ::initialize */ public function testInitialize() { $repo = Category::getRepo(); $this->assertInstanceOf('Harp\\Harp\\Rel\\BelongsTo', $repo->getRel('parent')); $this->assertInstanceOf('Harp\\Harp\\Rel\\HasMany', $repo->getRel('children')); }