Code Duplication    Length = 10-10 lines in 2 locations

tests/InvokableFiltererTest.php 2 locations

@@ 67-76 (lines=10) @@
64
     * @test
65
     * @covers ::withAliases
66
     */
67
    public function withAliases()
68
    {
69
        $mock = $this->getMockFilterer();
70
        $mock->method('withAliases')->willReturnSelf();
71
72
        $filterer = new InvokableFilterer($mock);
73
        $actual = $filterer->withAliases([]);
74
75
        $this->assertSame($mock, $actual);
76
    }
77
78
    /**
79
     * @test
@@ 82-91 (lines=10) @@
79
     * @test
80
     * @covers ::withSpecification
81
     */
82
    public function withSpecification()
83
    {
84
        $mock = $this->getMockFilterer();
85
        $mock->method('withSpecification')->willReturnSelf();
86
87
        $filterer = new InvokableFilterer($mock);
88
        $actual = $filterer->withSpecification([]);
89
90
        $this->assertSame($mock, $actual);
91
    }
92
93
    /**
94
     * @test