def METHOD_NAME(self):
    test_journal = []
    with self.assertRaises(FooError) as cm:
        Logger.error('foo', 'This foo is bad')
    self.assertEqual(cm.exception.message, 'This foo is bad')
    test_journal.append(LogEntry(ERROR, 'bar', 'foo', 'This foo is bad'))
    self.assertListEqual(Logger.journal, test_journal)