/** * Set up the test */ public function setUp() { parent::setUp(); $this->twig = Phake::mock('Twig_Environment'); $parameters = array(0 => 'en', 1 => 'fr'); $this->form = new UserType($this->class, $parameters); }
/** * Set up the test */ public function setUp() { parent::setUp(); $this->form = new RegistrationUserType($this->class); }