ReadOptions { public ReadOptions selectedColumns(String... columnNames) { this.selectedColumns = Lists.newArrayList(columnNames); return this; }  static ReadOptions defaultOptions(); ReadOptions threadPoolSize(int size); ReadOptions selectedColumns(String... columnNames); ReadOptions selectedColumns(List<String> columnNames); List<String> getSelectedColumns(); int getThreadPoolSize();  }
@Test void selectedColumns() { String[] names = {"foo", "bar"}; List<String> nameList = Lists.newArrayList(names); ReadOptions options = new ReadOptions().selectedColumns(names); assertEquals(nameList, options.getSelectedColumns()); }
@Test void testSelectedColumns() { String[] names = {"foo", "bar"}; List<String> nameList = Lists.newArrayList(names); ReadOptions options = new ReadOptions().selectedColumns(nameList); assertEquals(nameList, options.getSelectedColumns()); }