Code Duplication    Length = 8-8 lines in 2 locations

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

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

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

@@ 685-692 (lines=8) @@
682
        );
683
    }
684
685
    public function providerForTestCanUserSimple()
686
    {
687
        return [
688
            [true, true],
689
            [false, false],
690
            [[], false],
691
        ];
692
    }
693
694
    /**
695
     * Test for the canUser() method.