### Question:
BaseLogMessage implements LogMessage { public boolean is(MsgType msgType) { return m_msgType.equals(msgType); } private  BaseLogMessage(Date timestamp, String threadName, MsgType msgType, String serviceId); static Date parseTimestamp(String dateString); static BaseLogMessage create(String logMessage); Date getDate(); String getThread(); MsgType getMsgType(); String getServiceID(); boolean is(MsgType msgType); boolean isBeginMessage(); boolean isCollectorBeginMessage(); boolean isCollectorEndMessage(); boolean isEndMessage(); boolean isErrorMessage(); boolean isPersistMessage(); boolean isPersistBeginMessage(); boolean isPersistEndMessage();  }### Answer:
@Test public void testInvalidMessage() { assumeThat(m_msgIsValid, is(false)); assertNull(m_logMessage); }