@Test
public void shouldUseTheDefaultLocale() throws ParseException {

when(request.getAttribute(LOCALE_KEY + ".request")).thenReturn(null);
when(request.getSession()).thenReturn(session);
when(session.getAttribute(LOCALE_KEY + ".session")). thenReturn(null);
when(context.getAttribute(LOCALE_KEY + ".application")). thenReturn(null);
when(context.getInitParameter(LOCALE_KEY)). thenReturn(null);
when(request.getLocale()).thenReturn(null);

	Date date = new SimpleDateFormat("HH:mm:ss").parse("23:52:00");
	String formattedHour = DateFormat.getTimeInstance(DateFormat.SHORT).format(date);
	assertThat(converter.convert(formattedHour, Time.class, bundle), is(equalTo(date)));
	
}