Code Duplication    Length = 11-11 lines in 3 locations

Tests/Mapping/ListMappingTest.php 1 location

@@ 186-196 (lines=11) @@
183
    /**
184
     * @test
185
     */
186
    public function shouldWakeUpInnerMapping()
187
    {
188
        /** @var ContainerInterface $container */
189
        $container = $this->createMock(ContainerInterface::class);
190
191
        $this->entryMapping->expects($this->once())->method("wakeUpMapping")->with(
192
            $this->equalTo($container)
193
        );
194
195
        $this->mapping->wakeUpMapping($container);
196
    }
197
198
}
199

Tests/Mapping/NullableMappingTest.php 1 location

@@ 255-265 (lines=11) @@
252
    /**
253
     * @test
254
     */
255
    public function shouldWakeUpInnerMapping()
256
    {
257
        /** @var ContainerInterface $container */
258
        $container = $this->createMock(ContainerInterface::class);
259
260
        $this->innerMapping->expects($this->once())->method("wakeUpMapping")->with(
261
            $this->equalTo($container)
262
        );
263
264
        $this->mapping->wakeUpMapping($container);
265
    }
266
267
    /**
268
     * @test

Tests/Mapping/MappingProxyTest.php 1 location

@@ 121-131 (lines=11) @@
118
    /**
119
     * @test
120
     */
121
    public function shouldForwardWakeUp()
122
    {
123
        /** @var ContainerInterface $context */
124
        $container = $this->createMock(ContainerInterface::class);
125
126
        $this->innerMapping->expects($this->once())->method("wakeUpMapping")->with(
127
            $this->equalTo($container)
128
        );
129
130
        $this->proxy->wakeUpMapping($container);
131
    }
132
133
}
134