@Test public void shouldGetAll() throws Exception { repository.getAll(); verify(mapper).getAll(); }
public List<Equipment> getAll(){ return mapper.getAll(); }
EquipmentRepository { public List<Equipment> getAll(){ return mapper.getAll(); } }
EquipmentRepository { public List<Equipment> getAll(){ return mapper.getAll(); }  }
EquipmentRepository { public List<Equipment> getAll(){ return mapper.getAll(); }  Equipment getById(Long id); List<Equipment> getAll(); List<Equipment> getAllByType(Long equipmentTypeId); List<Equipment> getByType(Long equipmentTypeId, Pagination page); Integer getCountByType(Long equipmentTypeId); List<EquipmentType> getTypesByProgram(Long programId); void insert(Equipment equipment); void update(Equipment equipment); void remove(Long id); }
EquipmentRepository { public List<Equipment> getAll(){ return mapper.getAll(); }  Equipment getById(Long id); List<Equipment> getAll(); List<Equipment> getAllByType(Long equipmentTypeId); List<Equipment> getByType(Long equipmentTypeId, Pagination page); Integer getCountByType(Long equipmentTypeId); List<EquipmentType> getTypesByProgram(Long programId); void insert(Equipment equipment); void update(Equipment equipment); void remove(Long id);  }