SuffixSqlBuilder { public static String buildSuffix(final QueryOptions queryOptions) { return new SuffixSqlBuilder(queryOptions).build(); } private  SuffixSqlBuilder(final QueryOptions queryOptions); static String buildSuffix(final QueryOptions queryOptions);  }
@Test(expected = NullPointerException.class) public void failOnNullQueryOptions() throws Exception { buildSuffix(null); }
@Test public void suffix() throws Exception { assertThat(buildSuffix(queryOptions), is(equalTo(" SKIP 99 LIMIT 10"))); }
@Test public void testId() { assertThat(buildSuffix(new QueryOptions("filter", "id", "asc", 99, 10)) , is(equalTo(" ORDER BY @rid asc SKIP 99 LIMIT 10"))); }