Esempio n. 1
0
 public function testSetCustomHydrator()
 {
     /** @var HydratorInterface $customHydrator */
     $customHydrator = $this->getMockForAbstractClass('\\Dive\\Hydrator\\HydratorInterface');
     $this->rm->setHydrator('custom', $customHydrator);
     $actualCustomHydrator = $this->rm->getHydrator('custom');
     $this->assertEquals($customHydrator, $actualCustomHydrator);
 }