public function setUp() { $this->propertyAccessor = new PropertyAccessor(); $this->hydrator = new SymfonyPropertyAccessorHydrator($this->propertyAccessor); }