@Test public void testGetErrorMessageInteraction() { repositoryErrorBundle.getErrorMessage(); verify(mockException).getMessage(); }
public String getErrorMessage() { String message = ""; if (this.exception != null) { this.exception.getMessage(); } return message; }
RepositoryErrorBundle implements ErrorBundle { public String getErrorMessage() { String message = ""; if (this.exception != null) { this.exception.getMessage(); } return message; } }
RepositoryErrorBundle implements ErrorBundle { public String getErrorMessage() { String message = ""; if (this.exception != null) { this.exception.getMessage(); } return message; } RepositoryErrorBundle(Error error);  RepositoryErrorBundle(Error error, Exception exception); }
RepositoryErrorBundle implements ErrorBundle { public String getErrorMessage() { String message = ""; if (this.exception != null) { this.exception.getMessage(); } return message; } RepositoryErrorBundle(Error error);  RepositoryErrorBundle(Error error, Exception exception); Exception getException(); @Override Error getError(); String getErrorMessage(); }
RepositoryErrorBundle implements ErrorBundle { public String getErrorMessage() { String message = ""; if (this.exception != null) { this.exception.getMessage(); } return message; } RepositoryErrorBundle(Error error);  RepositoryErrorBundle(Error error, Exception exception); Exception getException(); @Override Error getError(); String getErrorMessage();  }