Example #1
0
 /**
  * @test
  */
 public function purgeCurrentForModelWithUidRemovesModelFromGetUids()
 {
     $model = new Tx_Oelib_Tests_Unit_Fixtures_TestingModel();
     $model->setUid(1);
     $this->subject->add($model);
     $this->modelStorage[] = $model;
     $this->subject->rewind();
     $this->subject->purgeCurrent();
     self::assertSame('', $this->subject->getUids());
 }