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