function testInterfaceArrayAccess() { $offset = 42; $value = 'foo'; $collection = new lmbCollection(); $this->assertFalse($collection->offsetExists($offset)); $collection->offsetSet($offset, $value); $this->assertTrue($collection->offsetExists($offset)); $this->assertEqual($value, $collection->offsetGet($offset)); $collection->offsetUnset($offset); $this->assertFalse($collection->offsetExists($offset)); $this->assertNull($collection->offsetGet($offset)); }