def METHOD_NAME(connection_init):
    connection = Mock()
    connection_init.return_value = connection
    connection.channel.side_effect = Exception("Failed to get channel")
    destination = DestinationRabbitmq()
    status = destination.check(logger=Mock(), config=config)
    assert status.status == Status.FAILED