### Question:
KitRepository { public List<Kit> findKitsByGameName(String gameName) { return ebeanServer.createQuery(Kit.class) .fetch("description") .fetch("kitPermissions") .fetch("items") .where().eq("kitInformation.gameName", gameName) .findList(); }  List<Kit> findKitsByGameName(String gameName); void save(Kit kit);  }### Answer:
@Test public void findKitsByGameName() { KitPermissions kitPermissions = new AnyoneKitPermissions(); ebean.save(kitPermissions); Kit kit = new Kit( new KitInformation( "BedWars", 100L, "Super kit", Material.ARROW, false ), kitPermissions, Collections.singletonList( new InventoryItemEntity( new ItemStackEntity( Material.DIAMOND_PICKAXE, "Some name", Collections.singletonList("List") ), 1 ) ), Arrays.asList("Line 1", "Line 2") ); repository.save(kit); List<Kit> kitsForBedwars = repository.findKitsByGameName("BedWars"); assertEquals(1, kitsForBedwars.size()); assertEquals(kit, kitsForBedwars.get(0)); }