Example #1
0
 /** @test */
 public function iterator()
 {
     $context = new Context(array('foo' => 'bar'));
     $iterator = $context->getIterator();
     $this->assertInstanceOf('IteratorAggregate', $iterator);
     $iterator->offsetExists('foo');
 }