public void CanAddEditRemoveLocation() { const int acountId = 68; var address = GetNewAddress(); var wcfService = new AccountsServiceClient(); var location = wcfService.AddLocation(address, acountId); location.PostalCode = "4444"; Assert.IsTrue(location != null); var updatedLocation = wcfService.UpdateLocation(location); Assert.IsTrue(updatedLocation.PostalCode == "4444"); var locations = wcfService.GetLocationsByAccountId(updatedLocation.AccountId.Value); Assert.IsTrue(locations.Any()); bool deleted = wcfService.DeleteLocation(updatedLocation.AddressId); Assert.IsTrue(deleted); }