'Create exchange where an exception is raised and then silenced'

def test_exchange_declare_raises_exception_and_silenced(self):

    self.mock_broker.addExchange.side_effect = Exception(u'The    foo    object    already    exists.')
    self.my_channel.exchange_declare()
