mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-04 18:38:05 +01:00
14 lines
464 B
PHP
14 lines
464 B
PHP
<?php
|
|
|
|
class PHPParser_Tests_BuilderFactoryTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
public function testCreateClassBuilder() {
|
|
$factory = new PHPParser_BuilderFactory;
|
|
$this->assertInstanceOf('PHPParser_Builder_Class', $factory->class('Test'));
|
|
}
|
|
|
|
public function testCreateMethodBuilder() {
|
|
$factory = new PHPParser_BuilderFactory;
|
|
$this->assertInstanceOf('PHPParser_Builder_Method', $factory->method('test'));
|
|
}
|
|
} |