@@ 168-174 (lines=7) @@ | ||
165 | /** |
|
166 | * @group DDC-2504 |
|
167 | */ |
|
168 | public function testCountOneToManyJoinedInheritance() |
|
169 | { |
|
170 | $otherClass = $this->em->find(DDC2504OtherClass::class, $this->ddc2504OtherClassId); |
|
171 | ||
172 | self::assertFalse($otherClass->childClasses->isInitialized(), "Pre-Condition"); |
|
173 | self::assertCount(2, $otherClass->childClasses); |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @group DDC-546 |
|
@@ 404-411 (lines=8) @@ | ||
401 | /** |
|
402 | * @group DDC-2504 |
|
403 | */ |
|
404 | public function testCountingOnOneToManyJoinedInheritanceWillNotInitializeCollection() |
|
405 | { |
|
406 | $otherClass = $this->em->find(DDC2504OtherClass::class, $this->ddc2504OtherClassId); |
|
407 | ||
408 | self::assertCount(2, $otherClass->childClasses); |
|
409 | ||
410 | self::assertFalse($otherClass->childClasses->isInitialized()); |
|
411 | } |
|
412 | ||
413 | /** |
|
414 | * @group DDC-546 |