public void TestSerialization() { NotMatchTagCondition x1 = new NotMatchTagCondition("Franz"); NotMatchTagCondition x2 = SerializeAndDeserialize(x1); AssertForSpecs.AreEqualNotMatchTagCondition(x2, x1); }
protected override Task Context() { _logger = A.Fake <IOSPSuiteLogger>(); sut = new DescriptorConditionMapper(_logger); _inContainer = new InContainerCondition("CONT"); _notInContainer = new NotInContainerCondition("NOT_CONT"); _matchAllCondition = new MatchAllCondition(); _notMatchAllCondition = new NotMatchTagCondition("NOT_MATCH"); _notMatchCondition = new MatchTagCondition("MATCH"); return(_completed); }