예제 #1
0
    public function testGetNameWithFormTypeSuffix()
    {
        $type = new MyTestFormType();

        $this->assertEquals('mytest', $type->getName());
    }
예제 #2
0
 public function testGetNameWithFormTypeSuffix()
 {
     $type = new MyTestFormType();
     $this->assertEquals('symfony_tests_component_form_mytestformtype', $type->getName());
 }