コード例 #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());
 }