Example #1
0
        public void remove_procedure_witch_sucess()
        {
            var summary = new Summary();

            summary.Procedures.Add(new Procedure { Id = 1 });
            summary.RemoveProcedure(1);

            Assert.IsTrue(summary.Procedures.Count == 0);
        }
Example #2
0
 public void remove_procedure_witch_id_invalid_must_return_exeption()
 {
     var summary = new Summary();
     summary.RemoveProcedure(1);
 }
Example #3
0
 public void remove_procedure_witch_id_equals_zero_must_return_exeption()
 {
     var summary = new Summary();
     summary.RemoveProcedure(0);
 }