### Question:
ClusterH2DaoImpl implements ClusterDao { @Override public void insert(ClusterEntity clusterEntity) { if (Objects.isNull(clusterEntity)) { throw new IllegalArgumentException("clusterEntity must not be null"); } clusterJpaRepository.save(transferH2Entity(clusterEntity)); }  @Override void insert(ClusterEntity clusterEntity); @Override @Transactional void updateDesc(ClusterEntity clusterEntity); @Override void delete(String cluster); @Override ClusterEntity selectByCluster(String cluster); @Override List<ClusterEntity> selectListAll();  }### Answer:
@Test public void insert() { ClusterH2Entity envH2Entity = insertOneData(); List<ClusterEntity> envEntities = clusterDao.selectListAll(); log.info("[h2 env dao] save data,envEntities:{}", JSON.toJSONString(envEntities)); Assert.assertNotNull(envEntities); Assert.assertTrue(CollectionUtils.isNotEmpty(envEntities)); clusterJpaRepository.deleteById(envH2Entity.getId()); }