@Test
public void shouldReturnDefaultErrorMessageGivenDifferentExceptionWithoutMessage()
    throws Exception {

  when(context.getString(R.string.exception_generic)).thenReturn("Unknown error.");
  RuntimeException runtimeException = new RuntimeException("");
  String errorMessage = ErrorMessageFactory.create(context, runtimeException);
  verify(context, times(1)).getString(anyInt());
  assertThat(errorMessage, notNullValue());
  assertThat(errorMessage, is("Unknown error."));
}