setParent($container); self::assertSame($container, $contained->getParent()); } }