public static void HasNotAttribute(this IOperationRunner <IElementWrapper> operationRunner, string name) { var HasNotAttribute = new HasNotAttributeValidator(name); operationRunner.Evaluate <UnexpectedElementStateException>(HasNotAttribute); }
public static void HasNotAttribute(IElementWrapper wrapper, string name) { var hasNotAttribute = new HasNotAttributeValidator(name); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, hasNotAttribute); }