### Question:
ValidationMessage implements Serializable { public void setField(String field) { this.field = field; } ValidationMessage();  ValidationMessage(Type type, String field, String messageKey);  ValidationMessage(Type type, String field, String messageKey, String[] messageParameters); Type getType(); void setType(Type type); String getField(); void setField(String field); String getMessageKey(); void setMessageKey(String messageKey); String[] getMessageParameters(); void setMessageParameters(String[] messageParameters);  }### Answer:
@Test void setField() { ValidationMessage msg = new ValidationMessage(); msg.setField("tt3"); assertEquals("tt3", msg.getField()); }