public function testAssertStrategiesForCollectionsAreAlwaysAddedWhenHydratorIsConstructed() { $this->configureObjectManagerForOneToManyEntity(); $this->assertTrue($this->hydratorByValue->hasStrategy('entities')); $this->assertTrue($this->hydratorByReference->hasStrategy('entities')); $this->assertFalse($this->hydratorByValue->hasStrategy('id')); $this->assertFalse($this->hydratorByReference->hasStrategy('id')); }