public void ToStringDescribesContents() { var mapReference = new ValueReferenceDefinitionBuilder().WithStartingValue(new Dictionary <string, ValueReferenceDefinition>()).Build().CreateValueReference(engine); Assert.AreEqual("Reference(containing map)", mapReference.ToString()); var stringReference = new ValueReferenceDefinitionBuilder().WithStartingValue("string").Build().CreateValueReference(engine); Assert.AreEqual("Reference(containing string)", stringReference.ToString()); var boolReference = new ValueReferenceDefinitionBuilder().WithStartingValue(true).Build().CreateValueReference(engine); Assert.AreEqual("Reference(containing boolean)", boolReference.ToString()); var numberReference = new ValueReferenceDefinitionBuilder().WithStartingValue(BigDouble.One).Build().CreateValueReference(engine); Assert.AreEqual("Reference(containing number)", numberReference.ToString()); }