예제 #1
0
파일: ListTest.php 프로젝트: Konafets/oelib
 /**
  * @test
  */
 public function purgeCurrentForSecondOfTwoElementsMakesOneItemList()
 {
     $this->addModelsToFixture(array('', ''));
     $this->subject->rewind();
     $this->subject->next();
     $this->subject->purgeCurrent();
     self::assertSame(1, $this->subject->count());
 }