public function testClear() { $collection = new OrderedMap(array('test', 12)); $this->assertFalse($collection->isEmpty()); $collection->clear(); $this->assertTrue($collection->isEmpty()); $this->assertSame(0, $collection->count()); }
public function testClear() { $collection = new OrderedMap(array('test', 12)); $this->assertFalse($collection->isEmpty()); $collection->clear(); $this->assertTrue($collection->isEmpty()); $this->assertSame(0, $collection->count()); }