### Question:
MessageFrame extends DefaultByteBufHolder implements Frame { public List<String> messages() { return Collections.unmodifiableList(messages); } MessageFrame(final String message);  MessageFrame(final String... messages);  MessageFrame(final List<String> messages); List<String> messages(); @Override MessageFrame copy(); @Override MessageFrame duplicate(); @Override MessageFrame retain(); @Override MessageFrame retain(int increment); @Override String toString();  }### Answer:
@Test public void messages() { final MessageFrame messageFrame = new MessageFrame("first", "second", "third"); assertThat(messageFrame.messages(), hasItems("first", "second", "third")); messageFrame.release(); }