public void VerifyThatItIterationContainsNoElementDefinitionsNoViolationsAreReturned() { this.rule = new ElementDefinitionShortNameRule(); var violations = rule.Verify(this.iteration); CollectionAssert.IsEmpty(violations); }
public void SetUp() { this.session = new Mock <ISession>(); this.uri = new Uri("http://www.rheagroup.com"); this.cache = new ConcurrentDictionary <CacheKey, Lazy <Thing> >(); this.engineeringModel = new EngineeringModel(Guid.NewGuid(), this.cache, this.uri); this.iteration = new Iteration(Guid.NewGuid(), this.cache, this.uri); this.engineeringModel.Iteration.Add(this.iteration); this.rule = new ElementDefinitionShortNameRule(); }
public void SetUp() { this.elementDefinitionShortNameRule = new ElementDefinitionShortNameRule(); }