public function testGet() { $first = Token::identifier('hello'); $second = Token::identifier('world'); $collection = new NodeCollection([$first, $second], FALSE); $this->assertEquals($first, $collection->get(0)); $this->assertEquals($second, $collection->get(1)); }