public void Add(Client client)
        {
            client.Date = DateTime.Now;

            client.CheckDateIsValid();
            client.CheckNameIsNull();

            _allClients.Add(client);
        }
Beispiel #2
0
        public void Nome_Do_Cliente_Deve_Ser_Preenchido()
        {
            var cliente = new Client();

            cliente.Name = "Fabio Nascimento";
            cliente.CheckNameIsNull();

            Assert.Pass();
        }