Beispiel #1
0
        protected override async Task Context()
        {
            await base.Context();

            _invalid = new DescriptorCondition {
                Type = "UNKNOWN"
            };
        }
Beispiel #2
0
        protected override async Task Because()
        {
            _inContainerSnapshot = await sut.MapToSnapshot(_inContainer);

            _notInContainerSnapshot = await sut.MapToSnapshot(_notInContainer);

            _matchAllConditionSnapshot = await sut.MapToSnapshot(_matchAllCondition);

            _notMatchAllConditionSnapshot = await sut.MapToSnapshot(_notMatchAllCondition);

            _notMatchConditionSnapshot = await sut.MapToSnapshot(_notMatchCondition);
        }
Beispiel #3
0
        protected override async Task Context()
        {
            await base.Context();

            _inContainerSnapshot = await sut.MapToSnapshot(_inContainer);

            _notInContainerSnapshot = await sut.MapToSnapshot(_notInContainer);

            _matchAllConditionSnapshot = await sut.MapToSnapshot(_matchAllCondition);

            _notMatchAllConditionSnapshot = await sut.MapToSnapshot(_notMatchAllCondition);

            _notMatchConditionSnapshot = await sut.MapToSnapshot(_notMatchCondition);
        }
Beispiel #4
0
 protected override async Task Because()
 {
     _result = await sut.MapToSnapshot(_invalid);
 }