  @Test
  public void shouldReturnDefaultErrorMessageForInvalidServerException() throws Exception {

    when(context.getString(R.string.exception_invalid_server)).thenReturn(
        "Invalid Server Default Error Message");
    InvalidServerException invalidServerException = new InvalidServerException();

    String errorMessage = ErrorMessageFactory.create(context, invalidServerException);

    verify(context, times(1)).getString(R.string.exception_invalid_server);
    assertThat(errorMessage, notNullValue());
    assertThat(errorMessage, is("Invalid Server Default Error Message"));
  }