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

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

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

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