Example #1
0
        public void Good_Debitor_Should_return_true()
        {
            Debitor good_debitor = new Debitor("Guter Name");

            Assert.IsFalse(good_debitor.is_hit());
        }
Example #2
0
        public void empty_debitor_should_throw_exception()
        {
            Debitor bad_Debitor = new Debitor("");

            bad_Debitor.is_hit();
        }
Example #3
0
        public void Bad_Debitor_Should_return_true()
        {
            Debitor bad_Debitor = new Debitor("Böser Name");

            Assert.IsTrue(bad_Debitor.is_hit());
        }