示例#1
0
 /**
  * @test
  */
 public function purgeCurrentForSecondOfTwoElementsMakesOneItemList()
 {
     $this->addModelsToFixture(array('', ''));
     $this->subject->rewind();
     $this->subject->next();
     $this->subject->purgeCurrent();
     self::assertSame(1, $this->subject->count());
 }