SingleNumber { public static int findInK(int[] array, int k) { int[] kbits = new int[32]; for (int i = 0; i < array.length; i++) { addVtoKBits(array[i], k, kbits); } mod(kbits, k); return kbitToInt(kbits, k); }  static int findInK(int[] array, int k);  }
@Test(dataProvider = "singleNumbers") public void test(int[] numbers, int k, int expected) { assertEquals(SingleNumber.findInK(numbers, k), expected); }