@Test public void shouldGetAll() throws Exception{ repository.getAll(); verify(mapper).getAll(); }
public List<ServiceType> getAll(){ return mapper.getAll(); }
ServiceTypeRepository { public List<ServiceType> getAll(){ return mapper.getAll(); } }
ServiceTypeRepository { public List<ServiceType> getAll(){ return mapper.getAll(); }  }
ServiceTypeRepository { public List<ServiceType> getAll(){ return mapper.getAll(); }  ServiceType getById(Long id); List<ServiceType> getAll(); void insert(ServiceType serviceType); void update(ServiceType serviceType); }
ServiceTypeRepository { public List<ServiceType> getAll(){ return mapper.getAll(); }  ServiceType getById(Long id); List<ServiceType> getAll(); void insert(ServiceType serviceType); void update(ServiceType serviceType);  }