Passed
Push — master ( bf6407...ffdf3e )
by Felipe
02:35
created

JsonpCallbackMiddlewareTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of coisa/http.
4
 *
5
 * (c) Felipe Sayão Lobato Abreu <[email protected]>
6
 *
7
 * This source file is subject to the license that is bundled
8
 * with this source code in the file LICENSE.
9
 */
10
11
namespace CoiSA\Http\Test\Middleware;
12
13
use CoiSA\Http\Middleware\JsonpCallbackMiddleware;
14
use CoiSA\Http\Test\Handler\AbstractMiddlewareTest;
15
16
/**
17
 * Class JsonpCallbackMiddlewareTest
18
 *
19
 * @package CoiSA\Http\Test\Middleware
20
 */
21
final class JsonpCallbackMiddlewareTest extends AbstractMiddlewareTest
22
{
23
    public function setUp(): void
24
    {
25
        parent::setUp();
26
27
        $this->middleware = new JsonpCallbackMiddleware();
28
    }
29
}
30