Пример #1
0
 public function testGetValue()
 {
     $request = $this->newTonisRequest('/');
     $request['test'] = 'works';
     $result = $this->param->getValue($request, $this->newTonisResponse());
     $this->assertSame($result, 'works');
 }
Пример #2
0
 public function testGetHandler()
 {
     $this->assertInternalType('callable', $this->param->getHandler());
 }