### Question:
RedisMsService implements IMsService { @Override public List<TacMsDO> getAllMs() { return hashOperations.values(getMainKey()); }  @Override TacMsDO createMs(TacMsDO tacMsDO); @Override Boolean removeMs(String msCode); @Override Boolean invalidMs(String msCode); @Override Boolean updateMs(String msCode, TacMsDO tacMsDO); @Override TacMsDO getMs(String msCode); @Override List<TacMsDO> getAllMs();  }### Answer:
@Test public void getAllMs() { List<TacMsDO> allMs = redisMsService.getAllMs(); assertTrue(CollectionUtils.isNotEmpty(allMs)); }