/**
   * Tests the accuracy of the getter getResponseSeverity().
   *
   * <p>Using validated setter to test.
   */
  public void testGetter_GetResponseSeverity() {

    screeningResponse.setResponseSeverity(responseSeverity);

    assertEquals(
        "The responseSeverity should be got correctly.",
        responseSeverity,
        screeningResponse.getResponseSeverity());
  }
  /**
   * Tests the accuracy of the setter setResponseSeverity(ResponseSeverity).
   *
   * <p>Using reflection.
   */
  public void testSetter_SetResponseSeverity() {

    screeningResponse.setResponseSeverity(responseSeverity);

    // Gets responseSeverity by reflection.
    Object resp =
        AccuracyTestHelper.getPrivateField(
            ScreeningResponse.class, screeningResponse, "responseSeverity");

    assertEquals("The responseSeverity should be set correctly.", responseSeverity, resp);
  }