public function testShouldInvoke() { $request = $this->newTonisRequest('/'); $request['test'] = 'works'; $result = $this->param->shouldInvoke($request, $this->newTonisResponse()); $this->assertTrue($result); }