use of org.kie.workbench.common.screens.examples.model.ExampleProjectError in project kie-wb-common by kiegroup.
the class ImportProjectErrorPresenterTest method testTranslateError.
@Test
public void testTranslateError() {
ExampleProjectError error = new ExampleProjectError(VALIDATOR_ID, DESCRIPTION, VALUES);
String translatedMessager = this.presenter.translateError(error);
assertEquals("- " + TRANSLATED_MESSAGE, translatedMessager);
}
Aggregations