### Question:
Message { public String getContent() { return content; } Message();  Message(MessageType type, String content); MessageType getType(); void setType(MessageType type); String getContent(); void setContent(String content); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testGetContent() { var content = "test"; var message = new Message(MessageType.HEARTBEAT, content); assertEquals(content, message.getContent()); }