Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class PipeTest extends TestCase |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @throws \Exception |
||
13 | */ |
||
14 | public function testPipeSingleMethod() |
||
15 | { |
||
16 | $piped = pipe( |
||
17 | always(10) |
||
18 | ); |
||
19 | $this->assertEquals(10, $piped()); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @throws \Exception |
||
24 | */ |
||
25 | public function testPipeMultipleMethods() |
||
36 | } |
||
37 | } |
||
38 |