### Question:
Reuters21578DAO extends DatasetsDAO { public static Reuters21578 selectSingle(int newID) { String SELECT = "SELECT * FROM REUTERS_21578 WHERE newid = ?"; Object[] params = new Object[] { newID }; return Yank.queryBean(SELECT, Reuters21578.class, params); }  static void init(String dataFilesDir); static int dropTable(); static int createTable(); static int insert(Reuters21578 reuters21578); static List<Reuters21578> selectAll(); static List<Reuters21578> selectRange(int startIdx, int size); static List<Reuters21578> selectRandomList(int size); static List<Reuters21578> selectModApte(String lewisSplit, boolean topics); static long selectCount(); static Reuters21578 selectSingle(int newID);  }### Answer:
@Test public void testSelectSingle() { Reuters21578 reuters21578 = Reuters21578DAO.selectSingle(1); assertThat(reuters21578.getNewid(), equalTo(1)); assertThat(reuters21578.getTopics(), equalTo("cocoa")); assertThat(reuters21578.getPlaces(), equalTo("el-salvador,usa,uruguay")); }