public function testConstructor() { $relationProcessor = $this->getPartlyMockedRelationProcessor(); $this->assertAttributeSame($this->getPersistenceMock(), 'persistenceHandler', $relationProcessor); }