public function testFiltering() { $this->filter->setAbsPath('/something-not-matching'); $buffer = new TestBuffer($this->factory, $this->filter, $this->transport, $this->nodeTypeManager, 'http://localhost:8080/server/tests/jcr%3aroot'); $events = $this->getAndCallMethod($buffer, 'extractEvents', array($this->getDomElement($this->eventXml), 'system')); $this->assertEquals(array(), $events); }