function setUp()
 {
     $this->dataStorage = Mocks::getDataStorageMock($this);
     $this->fileStorage = Mocks::getFileStorageMock($this);
     $this->driver = Mocks::getAnnotationDriverMock($this);
     $this->namerServiceInvoker = Mocks::getNamerServiceInvokerMock($this);
     $this->propertyMappingfactory = Mocks::getPropertyMappingFactoryMock($this, $this->namerServiceInvoker, $this->driver);
     $this->fileType = new FileType($this->propertyMappingfactory, $this->dataStorage, $this->fileStorage);
 }
 public function setUp()
 {
     $this->dataStorage = Mocks::getDataStorageMock($this);
     $this->driver = Mocks::getAnnotationDriverMock($this);
     $this->namerServiceInvoker = Mocks::getNamerServiceInvokerMock($this);
     $this->propertyMappingFactory = Mocks::getPropertyMappingFactoryMock($this, $this->namerServiceInvoker, $this->driver);
     $this->transformer = $this->getMockBuilder('Iphp\\FileStoreBundle\\Form\\DataTransformer\\FileDataTransformer')->disableOriginalConstructor()->getMock();
     $this->subscriber = new FileTypeBindSubscriber($this->propertyMappingFactory, $this->dataStorage, $this->transformer);
 }
 /**
  * Sets up the test
  */
 public function setUp()
 {
     $this->dataStorage = Mocks::getDataStorageMock($this);
     $this->driver = Mocks::getAnnotationDriverMock($this);
     $this->fileStorage = Mocks::getFileStorageMock($this);
     $this->namerServiceInvoker = Mocks::getNamerServiceInvokerMock($this);
     $this->propertyMappingfactory = Mocks::getPropertyMappingFactoryMock($this, $this->namerServiceInvoker, $this->driver);
     /*
     * $this->propertyMappingfactory = new PropertyMappingFactory(
         $this->namerServiceInvoker, $this->driver, DummyEntity::getDefaultFileStoreConfig());
     */
 }