Пример #1
0
 public function testShouldThrowExceptionWhenResponseHeadersArgumentIsNotProvidedForMethodsOtherThanOneWay()
 {
     $method = new Method('name', function () {
     });
     $this->setExpectedException('\\InvalidArgumentException', 'Response headers argument is required');
     $method->call(array(), $this->request);
 }