public function testPutComplainsAboutInvalidKeys($key) { $pool = StashWrapper::createEphemeral(); $this->setExpectedException('PHPUnit_Framework_Error_Warning', 'assert'); $pool->put($key, 'foo'); }