### Question:
RepositoryErrorBundle implements ErrorBundle { @Override public String getErrorMessage() { String message = ""; if (this.exception != null) { message = this.exception.getMessage(); } return message; } RepositoryErrorBundle(Exception exception); @Override Exception getException(); @Override String getErrorMessage();  }### Answer:
@Test @SuppressWarnings("ThrowableResultOfMethodCallIgnored") public void testGetErrorMessageInteraction() { repositoryErrorBundle.getErrorMessage(); verify(mockException).getMessage(); }