public void TestComplexPassiveTransportBB() { PassiveTransportBuildingBlock x1 = _buildConfiguration.PassiveTransports as PassiveTransportBuildingBlock; Assert.IsNotNull(x1); IPassiveTransportBuildingBlock x2 = SerializeAndDeserialize(x1); AssertForSpecs.AreEqualBuildingBlock(x2, x1); }
protected override void Context() { base.Context(); var reactions = new ReactionBuildingBlock { new ReactionBuilder().WithName("REACTION") }; _buildConfiguration.Reactions = reactions; var passiveTransports = new PassiveTransportBuildingBlock { new TransportBuilder().WithName("TRANSPORT") }; _buildConfiguration.PassiveTransports = passiveTransports; sut = new ValidatorForReactionsAndTransports(_objectTypeResolver, _objectPathFactory);; }