'Test that L{reactors.installReactor} raises an exception when asked to
install a reactor which doesn\'t work in this environment.'

def test_installNotAvailableReactor(self):

    def install():
        raise ImportError('Missing    foo    bar')
    name = 'fakereactortest'
    package = __name__
    description = 'description'
    self.pluginResults = [FakeReactor(install, name, package, description)]
    self.assertRaises(ImportError, reactors.installReactor, name)
