/** Test method for {@link MonsterGroupActDao#findByExample(DomainEntity)}. */
 @Test
 public final void testFindByExample() {
   MonsterGroupAct example = new MonsterGroupAct();
   List<MonsterGroupAct> list = this.monsterGroupActDao.findByExample(example);
   assertNotNull(list);
   assertFalse(list.isEmpty());
   MonsterGroupActPk monsterGroupActPk = new MonsterGroupActPk();
   monsterGroupActPk.setName("Bane Spider");
   monsterGroupActPk.setExpansionName("DCK");
   monsterGroupActPk.setAct("Act1");
   example.setIdent(monsterGroupActPk);
   list = this.monsterGroupActDao.findByExample(example);
   assertNotNull(list);
   assertFalse(list.isEmpty());
   assertEquals(1, list.size());
   example.setIdent(null);
   NameExpansionPk nameExpansionPk = new NameExpansionPk();
   nameExpansionPk.setName("Goblin Archer");
   nameExpansionPk.setExpansion("D2E");
   MonsterGroup monsterGroup = this.monsterGroupDao.getById(nameExpansionPk);
   example.setMonsterGroup(monsterGroup);
   list = this.monsterGroupActDao.findByExample(example);
   assertNotNull(list);
   assertEquals(2, list.size());
 }
 /** Test method for {@link MonsterGroupActDao#getById(String)}. */
 @Test
 @Transactional
 public final void testGetById() {
   MonsterGroupActPk monsterGroupActPk = new MonsterGroupActPk();
   monsterGroupActPk.setName("Bane Spider");
   monsterGroupActPk.setExpansionName("DCK");
   monsterGroupActPk.setAct("Act1");
   MonsterGroupAct example = this.monsterGroupActDao.getById(monsterGroupActPk);
   assertNotNull(example);
   assertEquals(monsterGroupActPk, example.getId());
   assertEquals("Bane Spider", example.getIdent().getName());
   assertEquals("Bane Spider", example.getMonsterGroupName());
   assertEquals("DCK", example.getIdent().getExpansionName());
   assertEquals("DCK", example.getExpansionName());
   assertEquals("Act1", example.getIdent().getAct());
   assertEquals("Act1", example.getActName());
   assertEquals("banespideract1.png", example.getImage());
   MonsterGroup monsterGroup = example.getMonsterGroup();
   assertNotNull(monsterGroup);
   assertEquals("Bane Spider", monsterGroup.getName());
   assertEquals("DCK", monsterGroup.getExpansionName());
   Act act = example.getAct();
   assertNotNull(act);
   assertEquals("Act1", act.getName());
 }