public void UpdateServiceTest()
        {
            ServiceModelConfigurationManager manager = LoadManager();

            manager.UpdateService(Constants.ServiceName, Constants.EndpointName, "someBinding", "customBinding", "someBehavior");

            ServiceElement service = manager.GetService(Constants.ServiceName);

            Assert.AreEqual("someBehavior", service.BehaviorConfiguration);

            ServiceEndpointElement endpointFound = null;

            foreach (ServiceEndpointElement endpoint in service.Endpoints)
            {
                if (endpoint.Binding.Equals("customBinding"))
                {
                    endpointFound = endpoint;
                    break;
                }
            }
            Assert.IsNotNull(endpointFound);
            Assert.AreEqual("customBinding", endpointFound.Binding);
            Assert.AreEqual("someBinding", endpointFound.BindingConfiguration);
        }