//test response to a LanguageException for RESTFormService.getFormTemplate(...)
public void testGetFormTemplateTranslatorProblem() throws Exception {
Translator translator = EasyMock.createMock(Translator.class);
ServletContext context = EasyMock.createMock(ServletContext.class);
RESTFormService restService = emulateRESTFormService(translator, null, null, null);
restService.setFormService(new MockFormDefinitionService());
FormRepresentation form = createMockForm("myForm", "key1", "key2");
FormPreviewDTO dto = createFormPreviewDTO(form);
TranslatorException exception = new TranslatorException("Something going wrong");