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