@Test public void shouldInsert() throws Exception { ProgramEquipmentType programEquipmentType = new ProgramEquipmentType(); programEquipmentType.setDisplayOrder(29); repository.insert(programEquipmentType); verify(mapper).insert(programEquipmentType); }
public void insert(ProgramEquipmentType programEquipmentType) { equipmentTypeProgramMapper.insert(programEquipmentType); }
ProgramEquipmentTypeRepository { public void insert(ProgramEquipmentType programEquipmentType) { equipmentTypeProgramMapper.insert(programEquipmentType); } }
ProgramEquipmentTypeRepository { public void insert(ProgramEquipmentType programEquipmentType) { equipmentTypeProgramMapper.insert(programEquipmentType); }  }
ProgramEquipmentTypeRepository { public void insert(ProgramEquipmentType programEquipmentType) { equipmentTypeProgramMapper.insert(programEquipmentType); }  List<ProgramEquipmentType> getByProgramId(Long programId); void insert(ProgramEquipmentType programEquipmentType); void update(ProgramEquipmentType programEquipmentType); void remove(Long programEquipmentId); }
ProgramEquipmentTypeRepository { public void insert(ProgramEquipmentType programEquipmentType) { equipmentTypeProgramMapper.insert(programEquipmentType); }  List<ProgramEquipmentType> getByProgramId(Long programId); void insert(ProgramEquipmentType programEquipmentType); void update(ProgramEquipmentType programEquipmentType); void remove(Long programEquipmentId);  }