public void TestAtConstructorInitiererHandleEvaluationEventArgsMedDefaultResult(bool defaultResult)
        {
            var fixture = new Fixture();

            var validationContext = fixture.Create <object>();
            var eventArgs         = new HandleEvaluationEventArgs(validationContext, defaultResult);

            Assert.That(eventArgs, Is.Not.Null);
            Assert.That(eventArgs.ValidationContext, Is.Not.Null);
            Assert.That(eventArgs.ValidationContext, Is.EqualTo(validationContext));
            Assert.That(eventArgs.Result, Is.EqualTo(defaultResult));
        }
        public void TestAtResultSetterOpdatererValideringsresultat(bool testValue)
        {
            var fixture = new Fixture();

            var eventArgs = new HandleEvaluationEventArgs(fixture.Create <object>(), testValue);

            Assert.That(eventArgs, Is.Not.Null);
            Assert.That(eventArgs.Result, Is.EqualTo(testValue));

            var newValue = !testValue;

            eventArgs.Result = newValue;
            Assert.That(eventArgs.Result, Is.EqualTo(newValue));
        }