@Test
public void shouldReturnDefaultErrorMessageForNoResponseException() throws Exception {

  when(context.getString(R.string.exception_no_response)).thenReturn(
      "No Response Default Error Message");
  NoResponseException noResponseException = new NoResponseException();
  String errorMessage = ErrorMessageFactory.create(context, noResponseException);
  verify(context, times(1)).getString(R.string.exception_no_response);
  assertThat(errorMessage, notNullValue());
  assertThat(errorMessage, is("No Response Default Error Message"));
}