### Question:
InvoiceServiceImpl implements InvoiceService { @Override public CommonResult getInvoiceInfo() { HashMap<Integer, String> statusMap = new HashMap<>(); JSONObject result = new JSONObject(); statusMap.put(1, "未使用"); statusMap.put(2, "使用中"); statusMap.put(3, "已使用"); List<HashMap> temp = invoiceMapper.getInvoiceInfo(); for (HashMap map : temp) { map.put("statusName", statusMap.get(map.get("status"))); result.put((String) map.get("statusName"), map.get("count")); } return CommonResult.success(result); }  @Override synchronized CommonResult getNextInvoiceCode(); @Override CommonResult updateStatus(Byte status, String invoiceCode); @Override CommonResult insertInvoices(String beginInvoiceCode, String endInvoiceCode); @Override CommonResult getInvoiceInfo(); @Override CommonResult list();  }### Answer:
@Test public void testGetInvoiceInfo() throws Exception { }