'Test that typeof() finds an exchange that does not exists.'

def test_typeof_exchange_does_not_exist(self):

    mock_exchange = Mock()
    mock_default = Mock()
    self.mock_broker.getExchange.return_value = None
    result = self.my_channel.typeof(mock_exchange, default=mock_default)
    assert (mock_default is result)
