TableRefBuilder { public TableRefBuilder table(final String tableName) { this.tableName = tableName; return this; } TableRefBuilder(final TableNameUtil tableNameUtil); TableRefBuilder absTable(final String tableName); TableRefBuilder table(final String tableName); TableRefBuilder table(final Table table); TableRefBuilder absTable(final Table table); TableRefBuilder file(final String filename); TableRefBuilder file(final File file); TableRef build();  }
@Test public void testTable() { final TableRef tr = new TableRefBuilder(this.tableNameUtil).table("at").build(); final TableRef expectedTableRef = new TableRef(this.tableNameUtil, null, "at", 0); Assert.assertEquals(expectedTableRef, tr); }