public void GTTest() { LinqToSparqlExpTranslator<Track> target = new LinqToSparqlExpTranslator<Track>(); target.TypeTranslator = new XsdtTypeConverter(); Expression e = Expression.GreaterThan(Expression.Constant(10), Expression.Constant(15)); StringBuilder sb = new StringBuilder(); target.StringBuilder = sb; target.GreaterThan(e); string actualResult = sb.ToString(); string expectedResult = "(10)>(15)"; Assert.AreEqual(expectedResult, actualResult); }