class('Test'); $this->assertInstanceOf('PHPParser_Builder_Class', $builder); $this->assertEquals(new PHPParser_Node_Stmt_Class('Test'), $builder->getNode()); } }