/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // Create form type $this->type = new CategoryType('Pim\\Bundle\\CatalogBundle\\Entity\\Category', 'Pim\\Bundle\\CatalogBundle\\Entity\\CategoryTranslation'); $this->form = $this->factory->create($this->type); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // Create form type $this->type = new AttributeGroupType(); $this->form = $this->factory->create($this->type); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // Create form type $this->type = new AssociationTypeType(); $this->form = $this->factory->create($this->type); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->measureManager = $this->getMock('Akeneo\\Bundle\\MeasureBundle\\Manager\\MeasureManager'); $this->type = new MetricType('', '', $this->measureManager); $this->form = $this->factory->create($this->type); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->type = new AttributeOptionType(); $this->form = $this->factory->create($this->type); }