public function popShouldRemoveHead() { $s = $this->createStack([1, 2, 3]); $this->assertValues([2, 1], $s->pop()); }