public void Cannot_add_magic_compound_to_non_wizard_or_witch() { bool failed = false; FireBall fireBall = new FireBall(100); ForbiddenStaff staff = new ForbiddenStaff(10, 10); Knight knight = new Knight(10, 0, 0); try { knight.AddItem(fireBall.Combine(staff)); } catch (Exception ignored) { failed = true; } Assert.IsTrue(failed && knight.Damage.Equals(0)); }