public function testPop()
 {
     $collection = new Collection(['a', 'b']);
     $this->assertSame('b', $collection->pop());
     $this->assertSame(['a'], $collection->toArray());
     $collection->pop();
     $this->assertEmpty($collection->toArray());
     $this->assertNull($collection->pop());
 }