コード例 #1
0
ファイル: AbstractTypeTest.php プロジェクト: nacef/symfony
    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());
 }