/** * @covers getType */ public function testGetType() { $a = new AnonymousNode('foobar'); $this->assertEquals('Anonymous', $a->getType()); }