def METHOD_NAME(
    self, redis_cache_mock, fallback_cache_mock, logger_mock
):
    """
    Test case when redis_cache raises an exception,
    logger logs the exception then fallback_cache takes over
    """
    client = RedisCacheWithFallback(None, {})
    client.get("irrelevent")
    redis_cache_mock.assert_called_once()
    fallback_cache_mock.assert_not_called()
    redis_cache_mock.side_effect = Exception()
    client.get("irrelevent")
    logger_mock.warning.assert_called_with(
        "[DEGRADED CACHE MODE] - Switch to fallback cache"
    )
    logger_mock.exception.assert_called_once()
    fallback_cache_mock.assert_called_once()