'C{--logger} takes precedence over a L{ILogObserver} component set on
Application.'

def test_configuredLogObserverBeatsComponent(self):

    observer = self._makeObserver()
    application = Componentized()
    application.setComponent(ILogObserver, observer)
    self._checkObserver(self._setupConfiguredLogger(application))
    self.assertEqual(observer._logs, [])
