'Test passing in a bogus log level to C{emit()}.'

def test_logInvalidLogLevel(self):

    log = TestLogger()
    log.emit('*bogus*')
    errors = self.flushLoggedErrors(InvalidLogLevelError)
    self.assertEqual(len(errors), 1)
