### Question:
RedisMsInstService implements IMsInstService { @Override public TacInst getTacMsInst(Long msInstId) { TacInst data = hashOperations.get(getMainKey(), String.valueOf(msInstId)); if (data != null) { return data; } return null; }  @Override List<TacInst> getAllTacMsInsts(); @Override TacInst getTacMsInst(Long msInstId); @Override TacInst createTacMsInst(TacInst tacInst); @Override Boolean updateTacMsInst(Long instId, TacInst tacInst); @Override Boolean removeMsInst(Long instId); @Override List<TacInst> getMsInsts(String code);  }### Answer:
@Test public void getTacMsInst() { TacInst tacMsInst = redisMsInstService.getTacMsInst(1L); assertNotNull(tacMsInst); }