Code Duplication    Length = 6-6 lines in 2 locations

bridge/doctrine-phpcr-odm/tests/Functional/ExpressionVisitorTest.php 2 locations

@@ 123-128 (lines=6) @@
120
            [
121
                'not_contains',
122
                'hello',
123
                function ($nodes) {
124
                    $this->assertInstanceOf(ConstraintNot::class, $nodes[0]);
125
                    $nodes = $nodes[0]->getChildrenOfType(AbstractNode::NT_CONSTRAINT);
126
                    $this->assertEquals('jcr.operator.like', $nodes[0]->getOperator());
127
                },
128
            ],
129
            [
130
                'null',
131
                null,
@@ 132-137 (lines=6) @@
129
            [
130
                'null',
131
                null,
132
                function ($nodes) {
133
                    $this->assertInstanceOf(ConstraintNot::class, $nodes[0]);
134
                    $nodes = $nodes[0]->getChildrenOfType(AbstractNode::NT_CONSTRAINT);
135
                    $this->assertInstanceOf(ConstraintFieldIsset::class, $nodes[0]);
136
                },
137
            ],
138
            [
139
                'not_null',
140
                null,