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

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