### Question:
PokerHelper { public static boolean checkPokerIndex(int[] indexes, List<Poker> pokers){ boolean access = true; if(indexes == null || indexes.length == 0) { access = false; }else { for(int index: indexes){ if(index > pokers.size() || index < 1){ access = false; } } } return access; }  static void sortPoker(List<Poker> pokers); static int[] getIndexes(Character[] options, List<Poker> pokers); static boolean checkPokerIndex(int[] indexes, List<Poker> pokers); static PokerSell checkPokerType(List<Poker> pokers); static int parseScore(SellType sellType, int level); static List<Poker> getPoker(int[] indexes, List<Poker> pokers); static boolean comparePoker(List<Poker> pres, List<Poker> currents); static List<List<Poker>> distributePoker(); static String printPoker(List<Poker> pokers); static String textOnlyNoType(List<Poker> pokers); static int parsePokerColligationScore(List<Poker> pokers); static List<PokerSell> parsePokerSells(List<Poker> pokers); static int pokerPrinterType; static int totalPrinters; }### Answer:
@Test public void testCheckPokerIndex() { Assert.assertFalse(PokerHelper.checkPokerIndex(new int[]{}, new ArrayList<>())); Assert.assertFalse(PokerHelper.checkPokerIndex(new int[]{2, -4_194_302}, new ArrayList<>())); }