Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function testHandle() |
||
19 | { |
||
20 | /** @var \PHPUnit_Framework_MockObject_MockObject|GraphQLService $service */ |
||
21 | $service = $this->getMockBuilder(GraphQLService::class) |
||
22 | ->disableOriginalConstructor() |
||
23 | ->setMethods(['getStoredQueryResponse']) |
||
24 | ->getMock(); |
||
25 | |||
26 | $service->expects($this->once()) |
||
27 | ->method('getStoredQueryResponse') |
||
28 | ->with('graphql/Introspection.graphql'); |
||
|
|||
29 | |||
30 | $command = new UpdateSchemaLockCommand($service); |
||
31 | $command->handle(); |
||
32 | } |
||
34 |