@Test public void shouldGetAll() throws Exception { repository.getAll(); verify(mapper).getAll(); }
public List<ServiceContract> getAll(){ return mapper.getAll(); }
ServiceContractRepository { public List<ServiceContract> getAll(){ return mapper.getAll(); } }
ServiceContractRepository { public List<ServiceContract> getAll(){ return mapper.getAll(); }  }
ServiceContractRepository { public List<ServiceContract> getAll(){ return mapper.getAll(); }  ServiceContract getById(Long id); List<ServiceContract> getAllForFacility(Long facilityId); List<ServiceContract> getAllForVendor(Long vendorId); List<ServiceContract> getAllForEquipment(Long equipmentId); List<ServiceContract> getAll(); void insert(ServiceContract value); void update(ServiceContract value); }
ServiceContractRepository { public List<ServiceContract> getAll(){ return mapper.getAll(); }  ServiceContract getById(Long id); List<ServiceContract> getAllForFacility(Long facilityId); List<ServiceContract> getAllForVendor(Long vendorId); List<ServiceContract> getAllForEquipment(Long equipmentId); List<ServiceContract> getAll(); void insert(ServiceContract value); void update(ServiceContract value);  }