use of com.developmentontheedge.sql.format.QueryContext in project be5 by DevelopmentOnTheEdge.
the class BasicQueryContextTest method testBuilder.
@Test
public void testBuilder() {
QueryContext context = new BasicQueryContext.Builder().parameter("foo", "bar").sessionVar("var", "value").build();
assertEquals("bar", context.getParameter("foo"));
assertEquals("value", context.getSessionVariable("var"));
assertNull(context.getSessionVariable("test"));
}
Aggregations