/**
  */
 public function testMethod()
 {
     $oPHPPowerPoint = new PhpPowerpoint();
     $oPHPPowerPoint->addSlide(new Slide());
     $object = new Iterator($oPHPPowerPoint);
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Slide', $object->current());
     $this->assertEquals(0, $object->key());
     $this->assertNull($object->next());
     $this->assertEquals(1, $object->key());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Slide', $object->current());
     $this->assertTrue($object->valid());
     $this->assertNull($object->next());
     $this->assertFalse($object->valid());
     $this->assertNull($object->rewind());
     $this->assertEquals(0, $object->key());
 }