public void TestSerialization() { var x1 = new NotInContainerCondition("Franz"); var x2 = SerializeAndDeserialize(x1); AssertForSpecs.AreEqualNotInContainerCondition(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); }