### Question:
AppraisalResult extends AbstractEntity { public final AppraisalStatus.Status getAppraisalStatus() { return appraisalStatus; } AppraisalResult(final Class<? extends Appraiser> appraiser,
                           final AppraisalStatus.Status appraisalStatus,
                           final String appraisalResultMessage); protected  AppraisalResult(); final Class<? extends Appraiser> getAppraiser(); final AppraisalStatus.Status getAppraisalStatus(); final void setAppraisalStatus(final AppraisalStatus.Status appraisalResultStatus); final String getAppraisalResultMessage(); final void setAppraisalResultMessage(final String appraisalResultMessage); final void setAppraisalStatusAndResultMessage(final AppraisalStatus.Status status,
                                                         final String appraisalResultMessage); ReportSummary getReportSummary(); void setReportSummary(final ReportSummary reportSummary);  }### Answer:
@Test public void testGetAppraisalStatus() { AppraisalResult resultPass = new AppraisalResult(HIRSAppraiser.class, AppraisalStatus.Status.PASS, TEST_MESSAGE); AppraisalResult resultFail = new AppraisalResult(HIRSAppraiser.class, AppraisalStatus.Status.FAIL, TEST_MESSAGE); AppraisalResult resultError = new AppraisalResult(HIRSAppraiser.class, AppraisalStatus.Status.ERROR, TEST_MESSAGE); Assert.assertEquals(resultPass.getAppraisalStatus(), AppraisalStatus.Status.PASS); Assert.assertEquals(resultFail.getAppraisalStatus(), AppraisalStatus.Status.FAIL); Assert.assertEquals(resultError.getAppraisalStatus(), AppraisalStatus.Status.ERROR); }