internal static void ValidateInstanceVariableName(string name) { if (IVAR.IsMatch(name)) { return; } throw new NameError($"`{name}' is not allowed as an instance variable name"); }
public RefereeGivesCardTests() { _var = Substitute.For <IVAR>(); _referee = new Referee(_var); }
public Referee(IVAR var) { this._var = var; }