protected override async Task Context() { await base.Context(); _invalid = new DescriptorCondition { Type = "UNKNOWN" }; }
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); }
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); }
protected override async Task Because() { _result = await sut.MapToSnapshot(_invalid); }