messageRecord.record("foo");
assertFalse(messageRecord.shouldSend("foo"));
}
public void test___it_truncates_message_to_first_colon() {
messageRecord = new MessageRecord();
String message = "Hello I'm a message with colon: everything after it, should not count.";
assertTrue(messageRecord.shouldSend(message));
assertTrue(messageRecord.shouldSend(message));
messageRecord.record(message);
assertFalse(messageRecord.shouldSend(message));