public void CreateSecondFreeOrganizationTest() { Organization organization = OrganizationData.GenerateOrganization(true); Assert.False(_userRepository.GetById(TestConstants.UserId2).OrganizationIds.Contains(organization.Id)); HttpResponseMessage response = PostResponse(organization); Assert.NotNull(response); Assert.Equal(HttpStatusCode.UpgradeRequired, response.StatusCode); Assert.False(_userRepository.GetById(TestConstants.UserId2).OrganizationIds.Contains(organization.Id)); }