Code Duplication    Length = 10-10 lines in 2 locations

tests/FiltererTest.php 2 locations

@@ 719-728 (lines=10) @@
716
     * @test
717
     * @covers ::withAliases
718
     */
719
    public function withAliases()
720
    {
721
        $expected = ['foo' => 'bar'];
722
723
        $filterer = new Filterer([]);
724
        $filtererCopy = $filterer->withAliases($expected);
725
726
        $this->assertNotSame($filterer, $filtererCopy);
727
        $this->assertSame($expected, $filtererCopy->getAliases());
728
    }
729
730
    /**
731
     * @test
@@ 734-743 (lines=10) @@
731
     * @test
732
     * @covers ::withSpecification
733
     */
734
    public function withSpecification()
735
    {
736
        $expected = ['foo' => 'bar'];
737
738
        $filterer = new Filterer([]);
739
        $filtererCopy = $filterer->withSpecification($expected);
740
741
        $this->assertNotSame($filterer, $filtererCopy);
742
        $this->assertSame($expected, $filtererCopy->getSpecification());
743
    }
744
}
745