public function testOffsetStores() { $obs = $this->getNewObserver(); $rprop = new ReflectionProperty($this->cut, '_storage'); $rprop->setAccessible(true); $this->assertFalse($this->obj->contains($obs)); $this->obj[$obs] = 69; $this->assertTrue($this->obj->contains($obs)); }