/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Argument must not be empty. */ public function testGenerate_emptyArgument() { $this->generator->generate(''); }
private function generateKey($key) { return $this->storageKeyGenerator->generate($key); }