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