Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | public function testProcess() |
||
13 | { |
||
14 | $request = $this->createMock(ServerRequestInterface::class); |
||
15 | |||
16 | $request |
||
17 | ->expects($this->once()) |
||
18 | ->method('withAttribute') |
||
19 | ->with( |
||
20 | $this->equalTo('requestTag'), |
||
21 | $this->isType('string') |
||
22 | ) |
||
23 | ->willReturnSelf(); |
||
24 | |||
25 | $handler = $this->createMock(RequestHandlerInterface::class); |
||
26 | |||
27 | (new TagRequest())->process($request, $handler); |
||
28 | } |
||
30 |