diff --git a/Withings.Specifications/AuthenticatorTests.cs b/Withings.Specifications/AuthenticatorTests.cs index 858190b..f822b59 100644 --- a/Withings.Specifications/AuthenticatorTests.cs +++ b/Withings.Specifications/AuthenticatorTests.cs @@ -42,5 +42,11 @@ public void InvalidExchangeRequestForAccessToken() { Assert.ThrowsAsync(async () => await _authenticator.GetAccessToken("invalid_code")); } + + [Test] + public void InvalidRefreshRequestForAccessToken() + { + Assert.ThrowsAsync(async () => await _authenticator.RefreshAccessToken("invalid_refresh_token")); + } } }