def METHOD_NAME(self):
    """In this test case the EventHandler receives multiple lines from the test class."""
    description = "Test1SyslogWriterEventHandler"
    match_context = MatchContext(self.pid)
    fixed_dme = FixedDataModelElement('s1', self.pid)
    match_element = fixed_dme.get_match_element("match", match_context)
    match_context = MatchContext(self.pid)
    fixed_dme2 = FixedDataModelElement('s2', self.pid)
    match_element2 = fixed_dme2.get_match_element("match", match_context)
    syslog_writer_event_handler = SyslogWriterEventHandler(self.analysis_context, 'aminer')
    self.analysis_context.register_component(self, description)
    t = time()
    log_atom = LogAtom(fixed_dme.fixed_data, ParserMatch(match_element), t, self)
    syslog_writer_event_handler.receive_event(
        self.test % self.__class__.__name__, self.new_val % (self.match_s1, self.match_s2, repr(match_element.match_object)),
        [log_atom.raw_data, log_atom.raw_data], None, log_atom, self)
    string = ''
    sleep(0.2)
    with open("/var/log/syslog") as search:
        for line in search:
            line = line.rstrip()  # remove '\n' at end of line
            if 'aminer[' + str(os.getpid()) + ']' in line:
                line = line.split("]: ")
                string += (line[1]) + '\n'
    found = False
    string = string.split('Syslog logger initialized\n')
    expected = self.__expected_string % (
        datetime.fromtimestamp(t).strftime("%Y-%m-%d %H:%M:%S"), match_element.get_path(), match_element2.get_path(),
        repr(match_element.get_match_object()), self.__class__.__name__, description, 2, match_element.get_match_string().decode(),
        match_element2.get_match_string().decode())
    for log in string:
        if expected in log:
            found = True
    self.assertTrue(found)