Example #1
0
        public void Add_Mail_With_Unmatching_Zone()
        {
            Batch batch = new Batch(3);

            Mail mail = new Mail();

            mail.ZipCode = 2900;

            batch.AddMail(mail);
        }
Example #2
0
        public void Add_Mail_With_Matching_Zone()
        {
            Batch batch = new Batch(2);

            Mail mail = new Mail();

            mail.ZipCode = 2900;

            batch.AddMail(mail);

            Assert.AreEqual(1, batch.Count);
        }