public void TestSerializationParameterWithRHSConstantFormula()
        {
            Parameter x1 = CreateObject <Parameter>().WithName("Quentin").WithDimension(DimensionLength);

            x1.IsFixedValue            = false;
            x1.Persistable             = false;
            x1.BuildingBlockType       = PKSimBuildingBlockType.Protocol;
            x1.Formula                 = CreateObject <ConstantFormula>().WithDimension(DimensionLength).WithValue(1.2);
            x1.RHSFormula              = CreateObject <ConstantFormula>().WithDimension(DimensionLength).WithValue(3.4);
            x1.CanBeVaried             = false;
            x1.DisplayUnit             = DimensionLength.Unit("cm");
            x1.ValueOrigin.Description = "This is the value description";
            x1.ValueOrigin.Source      = ValueOriginSources.Internet;
            x1.ValueOrigin.Id          = 5;
            x1.ValueOrigin.Method      = ValueOriginDeterminationMethods.ParameterIdentification;
            x1.IsDefault               = true;
            var x2 = SerializeAndDeserialize(x1);

            AssertForSpecs.AreEqualParameter(x2, x1);
        }