/** @test */
 public function it_parses_fields_from_options_to_methods()
 {
     $fields = 'first_name:text, last_name:text, user_email:email, user_password:password';
     $expected = join('', array("\$this\n", "            ->add('first_name', 'text')\n", "            ->add('last_name', 'text')\n", "            ->add('user_email', 'email')\n", "            ->add('user_password', 'password');"));
     $parsedFields = $this->formGenerator->getFieldsVariable($fields);
     $this->assertSame($expected, $parsedFields);
 }