@Test
public void shouldReturnNullErrorMessageForAnExceptionWithoutMessage() throws Exception {

  NullPointerException nullPointerException = new NullPointerException();
  DefaultErrorBundle defaultErrorBundle = new DefaultErrorBundle(nullPointerException);
  String errorMessage = defaultErrorBundle.getErrorMessage();
  assertThat(errorMessage).isNullOrEmpty();
}