public function setUp() { $this->propRefl = (new \ReflectionClass(ObjectBag::class))->getProperty('objects'); $this->propRefl->setAccessible(true); }