public void QuoteTest() { LinqToSparqlExpTranslator<Track> target = new LinqToSparqlExpTranslator<Track>(); target.TypeTranslator = new XsdtTypeConverter(); Expression e = Expression.Quote(Expression.Constant(5)); StringBuilder sb = new StringBuilder(); target.StringBuilder = sb; target.Quote(e); string actualResult = sb.ToString(); string expectedResult = "\"5\""; // assumption - it should retain its XSDT type? Assert.AreEqual(expectedResult, actualResult); }