public function testClear() { $cardCollection = new CardCollection(TestDataProvider::getCardsArray()); $this->assertNotSame(0, $cardCollection->count()); $cardCollection->clear(); $this->assertSame(0, $cardCollection->count()); }
public function testClear() { $cardCollection = new CardCollection(TestDataProvider::getCardsArray()); $this->assertNotSame(0, $cardCollection->count()); $cardCollection->clear(); $this->assertSame(0, $cardCollection->count()); }