@Test
public void testNetworkConnectionErrorMessage() {

    String expectedMessage = Robolectric.application.getString(R.string.exception_message_no_connection);
    String actualMessage = ErrorMessageFactory.create(Robolectric.application,
            ErrorBundle.Error.NetworkConnection);
    assertThat(actualMessage, is(equalTo(expectedMessage)));
}