コード例 #1
0
ファイル: ParserTest.php プロジェクト: reinvanoyen/aegis
 public function testGetCurrentTokenShouldThrowNoTokenAtIndex()
 {
     $this->expectException(Aegis\NoTokenAtIndex::class);
     $stream = new TokenStream();
     $parser = new Parser();
     $parser->parse($stream);
     $parser->getCurrentToken();
 }