public function testRemovingStrategy() { $this->assertAttributeCount(0, 'strategies', $this->hydrator); $this->hydrator->addStrategy('myStrategy', new TestAsset\HydratorStrategy()); $this->assertAttributeCount(1, 'strategies', $this->hydrator); $this->hydrator->removeStrategy('myStrategy'); $this->assertAttributeCount(0, 'strategies', $this->hydrator); }