public function testPeekToSkipping_TokenNotFound() { $reader = $this->oneTokenReader()->thenAnOpenTag->thenAnEcho->thenSomeSpace->thenAString("content")->thenASemiColon->thenACloseTag; $access = new \vc\Tokens\Search($reader); $this->assertNull($access->peekToSkipping(array(Token::T_CLASS, Token::T_USE))); $this->assertEndOfTokens($reader); }