public function testGetRegeneratesValueFromCallbackOnMiss() { $pool = StashWrapper::createEphemeral(); $result = $pool->get('foo', function () { return 1; }); $this->assertEquals(1, $result); }