Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testProcessShouldLogDebugInformationToConsole() |
||
19 | { |
||
20 | $this->expectOutputRegex('/<script>.+<\/script>/'); |
||
21 | |||
22 | $context = new Context(); |
||
23 | $middleware = new InspectorMiddleware(); |
||
24 | $next = new MiddlewareCallback(); |
||
25 | $presentationModel = new ProductPresentationModel(); |
||
26 | $view = ViewFactory::create($presentationModel); |
||
27 | |||
28 | $middleware->process($view, $context, $next); |
||
29 | } |
||
31 |