public void TestUpdateClient()
        {
            foreach (var dataService in DataServices)
            {
                // Arrange.
                const string clientId      = "Client ID";
                const string clientName    = "Client name";
                const string clientAddress = "Client address";

                var service = new DefaultSubscriptionsManager(dataService, GetMockStatisticsService());
                service.CreateClient(clientId, clientName, clientAddress);

                // Act && Assert.
                var clientLcs = LoadingCustomizationStruct.GetSimpleStruct(typeof(Client), Client.Views.EditView);
                var clients   = dataService.LoadObjects(clientLcs).Cast <Client>().ToList();

                Assert.Equal(clients.Count(), 1);
                Assert.Equal(clients[0].ID, clientId);
                Assert.Equal(clients[0].Name, clientName);
                Assert.Equal(clients[0].Address, clientAddress);

                var newClientData = new ServiceBusClient()
                {
                    Name             = "New name ID",
                    ConnectionsLimit = 123,
                    Address          = "New address ID",
                    Description      = "New description ID",
                    DnsIdentity      = "New dnsIdentity ID",
                    SequentialSent   = true
                };
                service.UpdateClient(clientId, newClientData);

                var newClients = dataService.LoadObjects(clientLcs).Cast <Client>().ToList();
                Assert.Equal(newClients.Count(), 1);
                Assert.Equal(newClients[0].Name, newClientData.Name);
                Assert.Equal(newClients[0].Address, newClientData.Address);
                Assert.Equal(newClients[0].ConnectionsLimit, newClientData.ConnectionsLimit);
                Assert.Equal(newClients[0].Description, newClientData.Description);
                Assert.Equal(newClients[0].DnsIdentity, newClientData.DnsIdentity);
                Assert.Equal(newClients[0].SequentialSent, newClientData.SequentialSent);
            }
        }