public void NewArrayBoundsTest() { LinqToSparqlExpTranslator<Track> target = new LinqToSparqlExpTranslator<Track>(); target.TypeTranslator = new XsdtTypeConverter(); Expression e = Expression.NewArrayBounds(GetType(), new Expression[] { Expression.Constant(10) }); // array of ten StringBuilder sb = new StringBuilder(); target.StringBuilder = sb; target.NewArrayBounds(e); string actualResult = sb.ToString(); string expectedResult = "(?BooleanTestProperty)"; Assert.AreEqual(expectedResult, actualResult); }