protected function setUp()
 {
     parent::setUp();
     $this->doctrine = $this->getMock('Symfony\\Bridge\\Doctrine\\RegistryInterface');
     $this->manager = $this->getMock('Doctrine\\Common\\Persistence\\ObjectManager');
     $this->doctrine->expects($this->any())->method('getManager')->will($this->returnValue($this->manager));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->guesser = new DefaultGuesser($this->transformer);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->columnInfo->expects($this->any())->method('getLabel')->will($this->returnValue('column_label'));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->guesser = new TranslationGuesser($this->transformer);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->guesser = new ChainedGuesser();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->metadata->expects($this->any())->method('getTypeOfField')->with($this->equalTo('property_path'))->will($this->returnValue('type'));
 }