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