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