Exemple #1
0
        public void CanAddAccidents()
        {
            //arrange
            var customer = new Customer("Kevin", "*****@*****.**", "1234567", 0);

            //act
            customer.AddAccidents(2);
            int expected = 2;

            Console.WriteLine(expected);
            var actual = customer.Accidents;

            //assert
            Assert.AreEqual(expected, actual);
        }