public void messages() {
final String[] messages = {"one", "two", "three"};
final MessageFrame messageFrame = new MessageFrame(messages);
assertThat(messageFrame.messages().size(), CoreMatchers.is(3));
assertThat(messageFrame.messages(), CoreMatchers.hasItems("one", "two", "three"));
messageFrame.release();
}
@Test
public void createWithNullTerminatedArray() {
final String[] nullTerminated = {"one", "two", null, "three"};