assertTrue(lm.isComplete());
}
@Test
public void testIsCompleteFails() {
Message lm = new Message("foo", null, Tools.iso8601());
assertFalse(lm.isComplete());
lm = new Message("foo", "", Tools.iso8601());
assertFalse(lm.isComplete());
lm = new Message(null, "bar", Tools.iso8601());
assertFalse(lm.isComplete());
lm = new Message("", "bar", Tools.iso8601());
assertFalse(lm.isComplete());
lm = new Message("", "", Tools.iso8601());
assertFalse(lm.isComplete());
lm = new Message(null, null, Tools.iso8601());
assertFalse(lm.isComplete());
}