Tests/Mapping/MappingProxyTest.php 1 location
|
@@ 136-146 (lines=11) @@
|
| 133 |
|
/** |
| 134 |
|
* @test |
| 135 |
|
*/ |
| 136 |
|
public function shouldForwardWakeUp() |
| 137 |
|
{ |
| 138 |
|
/** @var ContainerInterface $context */ |
| 139 |
|
$container = $this->createMock(ContainerInterface::class); |
| 140 |
|
|
| 141 |
|
$this->innerMapping->expects($this->once())->method("wakeUpMapping")->with( |
| 142 |
|
$this->equalTo($container) |
| 143 |
|
); |
| 144 |
|
|
| 145 |
|
$this->proxy->wakeUpMapping($container); |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
} |
| 149 |
|
|
Tests/Mapping/NullableMappingTest.php 1 location
|
@@ 270-280 (lines=11) @@
|
| 267 |
|
/** |
| 268 |
|
* @test |
| 269 |
|
*/ |
| 270 |
|
public function shouldWakeUpInnerMapping() |
| 271 |
|
{ |
| 272 |
|
/** @var ContainerInterface $container */ |
| 273 |
|
$container = $this->createMock(ContainerInterface::class); |
| 274 |
|
|
| 275 |
|
$this->innerMapping->expects($this->once())->method("wakeUpMapping")->with( |
| 276 |
|
$this->equalTo($container) |
| 277 |
|
); |
| 278 |
|
|
| 279 |
|
$this->mapping->wakeUpMapping($container); |
| 280 |
|
} |
| 281 |
|
|
| 282 |
|
/** |
| 283 |
|
* @test |
Tests/Mapping/ListMappingTest.php 1 location
|
@@ 223-233 (lines=11) @@
|
| 220 |
|
/** |
| 221 |
|
* @test |
| 222 |
|
*/ |
| 223 |
|
public function shouldWakeUpInnerMapping() |
| 224 |
|
{ |
| 225 |
|
/** @var ContainerInterface $container */ |
| 226 |
|
$container = $this->createMock(ContainerInterface::class); |
| 227 |
|
|
| 228 |
|
$this->entryMapping->expects($this->once())->method("wakeUpMapping")->with( |
| 229 |
|
$this->equalTo($container) |
| 230 |
|
); |
| 231 |
|
|
| 232 |
|
$this->mapping->wakeUpMapping($container); |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
} |
| 236 |
|
|