@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Bankiru\Api\JsonRpc\DependencyInjection; |
| 4 | 4 | |
| 5 | -use Bankiru\Api\JsonRpc\Adapters\JMS\Compiler\JmsDriverPass; |
|
| 6 | 5 | use Bankiru\Api\JsonRpc\Adapters\JMS\Compiler\RelationHandlerHelper; |
| 7 | 6 | use Bankiru\Api\Rpc\RpcEvents; |
| 8 | 7 | use JMS\SerializerBundle\JMSSerializerBundle; |
@@ -23,9 +23,11 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $client = self::createClient(); |
| 25 | 25 | |
| 26 | - foreach (['test', 'test_private'] as $endpoint) /** @var MethodCollection $collection */ { |
|
| 26 | + foreach (['test', 'test_private'] as $endpoint) { |
|
| 27 | + /** @var MethodCollection $collection */ { |
|
| 27 | 28 | /** @var Router $router */ |
| 28 | 29 | $router = $client->getContainer()->get('rpc_server.endpoint_router.' . $endpoint); |
| 30 | + } |
|
| 29 | 31 | self::assertNotNull($router); |
| 30 | 32 | $collection = $router->getMethodCollection(); |
| 31 | 33 | self::assertNotNull($router); |