public void when_validate_it_should_validate_children()
        {
            var sut = new TestConfigurationPart();

            sut.Validate();
            sut.IsGetChildConfigurationsCalled.Should().BeTrue();
        }
        public void when_validate_it_should_validate_itself()
        {
            var sut = new TestConfigurationPart();

            sut.Validate();
            sut.IsValidateItselfCalled.Should().BeTrue();
        }
        public void when_validate_it_should_collect_self_errors_and_errors_from_children()
        {
            var sut    = new TestConfigurationPart();
            var errors = sut.Validate();

            errors.Should().BeEquivalentTo(
                TestConfigurationPart.Error,
                ChildConfiguration1.Error,
                ChildConfiguration2.Error);
        }