public void NewTest() { LinqToSparqlExpTranslator<Track> target = new LinqToSparqlExpTranslator<Track>(); target.TypeTranslator = new XsdtTypeConverter(); Expression e = Expression.New(GetType()); StringBuilder sb = new StringBuilder(); target.StringBuilder = sb; target.New(e); string actualResult = sb.ToString(); string expectedResult = "(?BooleanTestProperty)"; Assert.AreEqual(expectedResult, actualResult); }