@Test
public void shouldReturnDefaultErrorMessageForNoInternetConnectionException()
    throws Exception {

  when(context.getString(R.string.exception_no_internet_connection)).thenReturn(
      "No Internet Connection Default Error Message");
  NoInternetConnectionException noInternetConnectionException =
      new NoInternetConnectionException();
  String errorMessage = ErrorMessageFactory.create(context, noInternetConnectionException);
  verify(context, times(1)).getString(R.string.exception_no_internet_connection);
  assertThat(errorMessage, notNullValue());
  assertThat(errorMessage, is("No Internet Connection Default Error Message"));
}