public function testReturnsKeyValueWhenAllContainedArrayAccessObjectsHaveThisKeyValuePair2()
{
$composite = new Composite();
$keyValue1 = new \ArrayIterator();
$composite->attach($keyValue1);
$keyValue2 = new \ArrayIterator();
$composite->attach($keyValue2);
$key = 'Key';
$value = 'Value';
$composite[$key] = $value;
$this->assertEquals($value, $composite[$key]);
}