@Test
public void shouldThrowExceptionWhenUnableToParse() {

	when(request.getAttribute("javax.servlet.jsp.jstl.fmt.locale.request")).thenReturn("pt_br");
try {
	converter.convert("vr3.9", double.class, bundle);
	fail("Should throw exception");
} catch (ConversionError e) {
	assertThat(e.getMessage(), is(equalTo("vr3.9 is not a valid number.")));
}
}