protected override void SpecificSetup(AbstractSystemUnderTestXml sutXml, AbstractConstraintXml ctrXml) { if (!(ctrXml is LinkedToXml)) throw new ArgumentException("Constraint must be a 'LinkedToXml'"); ConstraintXml = (LinkedToXml)ctrXml; }
protected global::NUnit.Framework.Constraints.Constraint InstantiateConstraint(LinkedToXml ctrXml) { var ctr = new LinkedToConstraint(ctrXml.Item.Caption); return ctr; }
protected NBiConstraint InstantiateConstraint(LinkedToXml ctrXml) { var ctr = new LinkedToConstraint(ctrXml.Item.Caption); return ctr; }