Exemplo n.º 1
0
 /**
  * @test
  */
 public function purgeCurrentForFirstOfTwoElementsSetsPointerToFormerSecondElement()
 {
     $this->addModelsToFixture();
     $model = new Tx_Oelib_Tests_Unit_Fixtures_TestingModel();
     $this->subject->add($model);
     $this->subject->rewind();
     $this->subject->purgeCurrent();
     self::assertSame($model, $this->subject->current());
 }