def METHOD_NAME(self):
    #No filter
    logFilter = snapshotlog.LogFilter()
    for line in (self.e, self.c, self.i, self.n, self.h):
        self.assertEqual(line, logFilter.filter(line))
    #Error filter
    logFilter = snapshotlog.LogFilter(mode = snapshotlog.LogFilter.ERROR)
    for line in (self.e, self.n, self.h):
        self.assertEqual(line, logFilter.filter(line))
    for line in (self.c, self.i):
        self.assertIsNone(logFilter.filter(line))
    #Changes filter
    logFilter = snapshotlog.LogFilter(mode = snapshotlog.LogFilter.CHANGES)
    for line in (self.c, self.n, self.h):
        self.assertEqual(line, logFilter.filter(line))
    for line in (self.e, self.i):
        self.assertIsNone(logFilter.filter(line))
    #Information filter
    logFilter = snapshotlog.LogFilter(mode = snapshotlog.LogFilter.INFORMATION)
    for line in (self.i, self.n, self.h):
        self.assertEqual(line, logFilter.filter(line))
    for line in (self.c, self.e):
        self.assertIsNone(logFilter.filter(line))
    #Error + Changes filter
    logFilter = snapshotlog.LogFilter(mode = snapshotlog.LogFilter.ERROR_AND_CHANGES)
    for line in (self.e, self.c, self.n, self.h):
        self.assertEqual(line, logFilter.filter(line))
    for line in (self.i,):
        self.assertIsNone(logFilter.filter(line))