Code Duplication    Length = 8-8 lines in 2 locations

eZ/Publish/Core/Persistence/Legacy/Tests/Content/FieldValue/Converter/ISBNTest.php 1 location

@@ 51-58 (lines=8) @@
48
        self::assertSame($excpectedIsbn13Value, $fieldSettings['isISBN13']);
49
    }
50
51
    public function providerForTestToFieldDefinition()
52
    {
53
        return [
54
            [1, true],
55
            [0, false],
56
            [null, false],
57
        ];
58
    }
59
}
60

eZ/Publish/Core/Repository/Tests/Service/Mock/PermissionTest.php 1 location

@@ 599-606 (lines=8) @@
596
        );
597
    }
598
599
    public function providerForTestCanUserSimple()
600
    {
601
        return [
602
            [true, true],
603
            [false, false],
604
            [[], false],
605
        ];
606
    }
607
608
    /**
609
     * Test for the canUser() method.