public async Task WebApi_GetUserInfoUsingEntitiesEndpoint_ReturnsError() { var response = await UnauthorizedApi.GetUserEntityById(JohnId); response.IsSuccessStatusCode.Should().Be(false); response.StatusCode.Should().Be(HttpStatusCode.Forbidden); }