Code Duplication    Length = 8-8 lines in 2 locations

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.

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

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