public function testOffsetExist() { $this->assertTrue($this->arrayCollection->offsetExists(1)); $this->assertFalse($this->arrayCollection->offsetExists('not_exists_key')); }