public function testGetVariationWrongValue() { $field = new Field(array('value' => $this->getMock('eZ\\Publish\\Core\\FieldType\\Value'))); $this->aliasGenerator->getVariation($field, new VersionInfo(), 'foo'); }