@Test public void shouldInsertDeliveryZone() throws Exception { DeliveryZone zone = new DeliveryZone(); repository.insert(zone); verify(mapper).insert(zone); }
public void insert(DeliveryZone zone) { mapper.insert(zone); }
DeliveryZoneRepository { public void insert(DeliveryZone zone) { mapper.insert(zone); } }
DeliveryZoneRepository { public void insert(DeliveryZone zone) { mapper.insert(zone); }  }
DeliveryZoneRepository { public void insert(DeliveryZone zone) { mapper.insert(zone); }  void insert(DeliveryZone zone); void update(DeliveryZone zone); DeliveryZone getByCode(String code); List<DeliveryZone> getByUserForRight(Long userId, String rightName); List<Program> getPrograms(Long id); DeliveryZone getById(Long id); List<DeliveryZone> getAll(); }
DeliveryZoneRepository { public void insert(DeliveryZone zone) { mapper.insert(zone); }  void insert(DeliveryZone zone); void update(DeliveryZone zone); DeliveryZone getByCode(String code); List<DeliveryZone> getByUserForRight(Long userId, String rightName); List<Program> getPrograms(Long id); DeliveryZone getById(Long id); List<DeliveryZone> getAll();  }