@Test public void shouldUpdate() throws Exception{ EquipmentType type = new EquipmentType(); type.setCode("Test"); type.setName("Test"); repository.update(type); verify(mapper).update(type); }
public void update(EquipmentType type){ equipmentTypeMapper.update(type); }
EquipmentTypeRepository { public void update(EquipmentType type){ equipmentTypeMapper.update(type); } }
EquipmentTypeRepository { public void update(EquipmentType type){ equipmentTypeMapper.update(type); }  }
EquipmentTypeRepository { public void update(EquipmentType type){ equipmentTypeMapper.update(type); }  EquipmentType getEquipmentTypeById(Long id); List<EquipmentType> getAll(); void insert(EquipmentType type); void update(EquipmentType type); }
EquipmentTypeRepository { public void update(EquipmentType type){ equipmentTypeMapper.update(type); }  EquipmentType getEquipmentTypeById(Long id); List<EquipmentType> getAll(); void insert(EquipmentType type); void update(EquipmentType type);  }