/** * @expectedException Mustache_Exception_InvalidArgumentException */ public function testAnchoredDotNotationThrowsExceptions() { $context = new Mustache_Context(); $context->push(array('a' => 1)); $context->findAnchoredDot('a'); }