@Test(dataProvider = "parse_client_failure_data")
public void parse_client_failure(Class type, String input, String expectedMessage)
{
Translator t = _source.get(type);
try
{
t.parseClient(input, _messagesSource.getValidationMessages(Locale.ENGLISH));
unreachable();
}
catch (ValidationException ex)
{
assertEquals(ex.getMessage(), expectedMessage);