Esempio n. 1
0
 @Override
 public Menu getSaveAndNewEntity() {
   Menu entity = new Menu();
   entity.setUid(UUIDUtil.newUUID());
   entity.setName("hello 2");
   return entity;
 }
Esempio n. 2
0
  @Before
  public void init() {
    if (!isInited) {
      isInited = true;

      Menu menu = new Menu();
      menu.setUid(UUIDUtil.newUUID());
      menu.setName("hello");
      jpaDataAccessService.saveEntity(menu);
      menuUid = menu.getUid();
    }
  }