1 | <?php |
||
13 | abstract class JsonRpcTestCase extends WebTestCase |
||
14 | { |
||
15 | 1 | protected static function getKernelClass() |
|
19 | |||
20 | /** |
||
21 | * @param $endpoint |
||
22 | * @param Client $client |
||
23 | * @param $requests |
||
24 | * |
||
25 | * @return null|\Symfony\Component\HttpFoundation\Response |
||
26 | */ |
||
27 | 11 | protected function sendRequest(Client $client = null, $endpoint, $requests) |
|
37 | |||
38 | /** |
||
39 | * @param RpcRequestInterface $request |
||
40 | * @param string $endpoint |
||
41 | * @param Client|null $client |
||
42 | * |
||
43 | * @return JsonRpcResponseInterface |
||
44 | */ |
||
45 | 2 | protected function sendJsonRpcRequest(RpcRequestInterface $request, $endpoint, Client $client = null) |
|
55 | } |
||
56 |