public void Validate_ShouldTestSection() { //Arrange _sut = new TestSectionedValidator <SomeModel>(); _sut.Init(() => { _sut.Section(Section, x => { _sut.Start(new ValidationInfoBase(_guid)); _sut.Pass(); }); }); //Act var result = _sut.Validate(_model); //Assert Assert.IsTrue(result.Passes.Count() == 1); Assert.IsTrue(result.Passes.First().Guid == _guid); Assert.IsFalse(result.Fails.Any()); }