async def METHOD_NAME():
    """A credential should request a new token when its cached one is within the refresh window"""
    credential = MockCredential(cached_token=AccessToken(CACHED_TOKEN, time.time() + DEFAULT_REFRESH_OFFSET - 1))
    token = await credential.get_token(SCOPE)
    credential.acquire_token_silently.assert_called_once_with(SCOPE, claims=None, tenant_id=None)
    credential.request_token.assert_called_once_with(SCOPE, claims=None, tenant_id=None)
    assert token.token == MockCredential.NEW_TOKEN.token