* Tests the conversion from definitions to values for Stringchoices.
*
* @throws Exception if so.
*/
public void testStringChoiceConversion() throws Exception {
StringChoiceMetadataDefinition def = new StringChoiceMetadataDefinition("choices", "first\nsecond");
List<AbstractMetadataDefinition> list = new LinkedList<AbstractMetadataDefinition>();
list.add(def);
PluginImpl.getInstance().setDefinitions(list);
FreeStyleProject freeStyleProject = createFreeStyleProject();
configRoundtrip(freeStyleProject);