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