public void JudgeEnforcePass() { // The default Advise implementation for JudgeDummy is to always return true. var judgeDummy = new JudgeDummy(); judgeDummy.Enforce("any-law"); }
public void JudgeEnforceFail() { // JudgeDummy evil twin that always Advise to false (just like //the real Judge Death) var judgeDeath = new JudgeDummy((l, a) => false); judgeDeath.Enforce("any-law"); }