/** * Tests the accuracy of the getter getResponseCode(). * * <p>Using validated setter to test. */ public void testGetter_GetResponseCode() { screeningResponse.setResponseCode(defaultCode); assertEquals( "The responseCode should be got correctly.", defaultCode, screeningResponse.getResponseCode()); }