### Question:
AisMessageOther implements AisMessage { @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("AisMessageOther [messageId="); builder.append(messageId); builder.append(", source="); builder.append(source); builder.append("]"); return builder.toString(); } AisMessageOther(int messageId, int padBits);  AisMessageOther(int messageId, String source, int padBits); @Override int getMessageId(); @Override String getSource(); @Override String toString();  }### Answer:
@Test public void testToString() { new AisMessageOther(3, "boo", 0).toString(); }