/** * Test * * @return void */ public function testInvokeWithParameters() { $this->assertInternalType('array', $this->object->__invoke(1)); $this->assertInternalType('array', $this->object->__invoke('url-key')); $this->assertInternalType('array', $this->object->__invoke(array(0, $this->document->getId()))); }