@Test
public void shouldReturnTheRightException() throws Exception {

  Exception exception = infrastructureErrorBundle.getException();
  assertThat(exception, notNullValue());
  assertThat(exception, is(instanceOf(Exception.class)));
  assertThat(exception, is(mockException));
}