예제 #1
0
파일: ListTest.php 프로젝트: Konafets/oelib
 /**
  * @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());
 }