### Question:
PCBDAO extends PCBParentDAO { public static PCB selectSingle(int id) { Object[] params = new Object[] { id }; String SELECT_SINGLE = "SELECT * FROM PCB WHERE id = ?"; return Yank.queryBean(SELECT_SINGLE, PCB.class, params); }  static int dropTable(); static int createTable(); static int insert(PCB pcb); static PCB selectSingle(int id); static long selectCount();  }### Answer:
@Test public void testImage() { PCB pcb = PCBDAO.selectSingle(1); try (InputStream bytes = pcb.getImgbytes().getBinaryStream();) { BufferedImage bufferedImage = ImageIO.read(bytes); assertThat(bufferedImage).isNotNull(); } catch (Exception e) { e.printStackTrace(); } }