public async Task AuthenticateAsync_Call_ThrowsException() { var authenticator = new NullHttpClientAuthenticator(); await Assert.ThrowsAsync <NotSupportedException>(() => authenticator.AuthenticateAsync(new Uri("http://test.com"))); }
public void CanAuthenticate_Call_AlwaysReturnsFalse() { var authenticator = new NullHttpClientAuthenticator(); Assert.False(authenticator.CanAuthenticate(new Uri("http://test.com"))); Assert.False(authenticator.CanAuthenticate(new Uri("http://test.com"))); }
public void PrepareRequest_Call_DoesNothing() { var authenticator = new NullHttpClientAuthenticator(); authenticator.PrepareHttpRequest(null); }