public void AllGetsAllValues()
        {
            ClientInMemoryRepository clientRepository = new ClientInMemoryRepository();

            ClientInMemoryRepository.ClearDictionary();
            var client1 = new Client(ClientName, ContactName, Phone, Email);
            var client2 = new Client(ClientName, ContactName, Phone, Email);
            var client3 = new Client(ClientName, ContactName, Phone, Email);

            clientRepository.Store(client1);
            clientRepository.Store(client2);
            clientRepository.Store(client3);
            IReadOnlyList <Client> clientList = clientRepository.All();

            Assert.That(clientList.Count, Is.EqualTo(5));
            Assert.IsTrue(clientList.Any(c => c.Identifier.Equals(client1.Identifier)));
            Assert.IsTrue(clientList.Any(c => c.Identifier.Equals(client2.Identifier)));
            Assert.IsTrue(clientList.Any(c => c.Identifier.Equals(client3.Identifier)));
        }
        public void GetAllReturnsAllClients()
        {
            ClientInMemoryRepository.ClearDictionary();
            var clientService = new ClientService();

            clientService.SaveNewClient(new ClientViewModel {
                ClientName = ClientName + Guid.NewGuid().ToString(), ContactName = ContactName, ContactPhone = Phone, ContactEmail = "0" + Email
            });
            clientService.SaveNewClient(new ClientViewModel {
                ClientName = ClientName + Guid.NewGuid().ToString(), ContactName = ContactName, ContactPhone = Phone, ContactEmail = "1" + Email
            });
            clientService.SaveNewClient(new ClientViewModel {
                ClientName = ClientName + Guid.NewGuid().ToString(), ContactName = ContactName, ContactPhone = Phone, ContactEmail = "2" + Email
            });
            clientService.SaveNewClient(new ClientViewModel {
                ClientName = ClientName + Guid.NewGuid().ToString(), ContactName = ContactName, ContactPhone = Phone, ContactEmail = "3" + Email
            });
            var clientList = clientService.GetAll();

            Assert.That(clientList.Count, Is.EqualTo(6));
        }