public void TypeAsTest() { LinqToSparqlExpTranslator<Track> target = new LinqToSparqlExpTranslator<Track>(); target.TypeTranslator = new XsdtTypeConverter(); Expression e = Expression.TypeAs(Expression.Constant("3.14"), typeof (double)); target.StringBuilder = new StringBuilder(); target.TypeAs(e); }