### Question:
DataSetService { public List<DataSet> all() { if (allDataSets == null || allDataSets.size() == 0) { allDataSets = dbUtil.withDao(DataSet.class, new DbUtil.Operation<DataSet, List<DataSet>>() { @Override public List<DataSet> operate(Dao<DataSet, String> dao) throws SQLException { return dao.queryForAll(); } }); } return allDataSets; }  List<DataSet> all(); DataSet getByName(final String name);  }### Answer:
@Ignore @Test public void shouldAll() throws Exception { List<DataSet> dataSets = dataSetService.all(); assertThat(dataSets, is(notNullValue())); assertThat(dataSets.size(), is(3)); }