@Test
public void testNetworkConnectionErrorMessage() {

    String expectedMessage = context.getString( R.string.exception_message_no_connection );
    String actualMessage = ErrorMessageFactory.create( context, new NetworkConnectionException() );
    assertThat( actualMessage, is( equalTo( expectedMessage ) ) );
}