public void assertEventLogContains(Object event){
  if (!mEventLog.contains(event)) {
    fail("Expected event not present. Actual events: " + mEventLog);
  }
}

public void assertEventLogContains ( Object event ) { if ( ! mEventLog . contains ( event ) ) { fail ( "Expected event not present. Actual events: " + mEventLog ) ; } }
fails the current test unless the event log contains a particular event .
