@Test public void shouldGetAll() throws Exception { service.getAll(); verify(repository).getAll(); }
public List<EquipmentType> getAll(){ return repository.getAll(); }
EquipmentTypeService { public List<EquipmentType> getAll(){ return repository.getAll(); } }
EquipmentTypeService { public List<EquipmentType> getAll(){ return repository.getAll(); }  }
EquipmentTypeService { public List<EquipmentType> getAll(){ return repository.getAll(); }  List<EquipmentType> getAll(); EquipmentType getTypeById(Long id); void save(EquipmentType type); }
EquipmentTypeService { public List<EquipmentType> getAll(){ return repository.getAll(); }  List<EquipmentType> getAll(); EquipmentType getTypeById(Long id); void save(EquipmentType type);  }