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
|
@@ 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 |
|
|