@Test public void testDelete() { when(jdbcTemplate.update(any(String.class), any(String.class), any(String.class))).thenReturn(1); witnessRepository.delete("2", "ap.kurnool"); }
public void delete(String applicationNumber, String tenantId) { jdbcTemplate.update(DELETE_WITNESS_QUERY, applicationNumber, tenantId); }
WitnessRepository { public void delete(String applicationNumber, String tenantId) { jdbcTemplate.update(DELETE_WITNESS_QUERY, applicationNumber, tenantId); } }
WitnessRepository { public void delete(String applicationNumber, String tenantId) { jdbcTemplate.update(DELETE_WITNESS_QUERY, applicationNumber, tenantId); }  }
WitnessRepository { public void delete(String applicationNumber, String tenantId) { jdbcTemplate.update(DELETE_WITNESS_QUERY, applicationNumber, tenantId); }  void save(String applicationNumber, String tenantId, Witness witness); void update(String applicationNumber, String tenantId, Witness witness); void delete(String applicationNumber, String tenantId); String getNextId(); }
WitnessRepository { public void delete(String applicationNumber, String tenantId) { jdbcTemplate.update(DELETE_WITNESS_QUERY, applicationNumber, tenantId); }  void save(String applicationNumber, String tenantId, Witness witness); void update(String applicationNumber, String tenantId, Witness witness); void delete(String applicationNumber, String tenantId); String getNextId(); static final String INSERT_WITNESS_QUERY; static final String UPDATE_WITNESS_QUERY; static final String DELETE_WITNESS_QUERY; }