@covers PHP_Token_NAMESPACE::getName
public function testGetName() {
$tokenStream = new PHP_Token_Stream(TEST_FILES_PATH . 'classInNamespace.php');
foreach ($tokenStream as $token) {
if ($token instanceof PHP_Token_NAMESPACE) {
$this
->assertSame('Foo\\Bar', $token
->getName());
}
}
}