public void TestSerialization() { var objectPathFactory = IoC.Resolve <IObjectPathFactory>(); var x1 = objectPathFactory.CreateFormulaUsablePathFrom(new[] { "..", "aa", "bb" }).WithAlias("FUP").WithDimension(DimensionLength) as FormulaUsablePath; var x2 = SerializeAndDeserialize(x1); AssertForSpecs.AreEqualFormulaUsablePath(x2, x1); }