DBMessage implements Serializable { public String getCountry() { return country; } DBMessage(String code, String language, String country,
            String variant, String message); String getCode(); String getLanguage(); String getCountry(); String getVariant(); String getMessage();  }
@Test public void testGetCountry01() throws Exception { DBMessage db = new DBMessage(null, null, null, null, null); ReflectionTestUtils.setField(db, "country", "abc"); String returnCountry = db.getCountry(); assertEquals("abc", returnCountry); }