@Test public void testGetErrorMessage() { ClassificationResult result1 = new ClassificationResult(errorMessage); assertEquals(errorMessage, result1.getErrorMessage()); ClassificationResult result2 = new ClassificationResult(matches); assertTrue(result2.getErrorMessage().isEmpty()); }
public String getErrorMessage() { return errorMessage; }
ClassificationResult { public String getErrorMessage() { return errorMessage; } }
ClassificationResult { public String getErrorMessage() { return errorMessage; } ClassificationResult(String errorMessage);  ClassificationResult(List<MatchBuilder> matches); }
ClassificationResult { public String getErrorMessage() { return errorMessage; } ClassificationResult(String errorMessage);  ClassificationResult(List<MatchBuilder> matches); List<MatchBuilder> getMatchBuilders(); String getErrorMessage(); boolean isSuccessfull(); }
ClassificationResult { public String getErrorMessage() { return errorMessage; } ClassificationResult(String errorMessage);  ClassificationResult(List<MatchBuilder> matches); List<MatchBuilder> getMatchBuilders(); String getErrorMessage(); boolean isSuccessfull();  }