public void ThenHeaderShouldContainAuthorization() { var containsAuthorizationHeader = _fluentHttpRequest.GetHeaders().Any( h => h.Name.Equals("Authorization", StringComparison.OrdinalIgnoreCase)); Assert.True(containsAuthorizationHeader); }