コード例 #1
0
ファイル: AbstractTypeTest.php プロジェクト: nacef/symfony
    public function testGetNameWithFormSuffix()
    {
        $type = new MyTestForm();

        $this->assertEquals('mytest', $type->getName());
    }
コード例 #2
0
 public function testGetNameWithFormSuffix()
 {
     $type = new MyTestForm();
     $this->assertEquals('symfony_tests_component_form_mytestform', $type->getName());
 }