OneBit { public boolean isOneBitCharacter(int[] bits) { if (bits == null || bits.length == 0) return false; return isOneBitCharacter(bits, 0); }  boolean isOneBitCharacter(int[] bits);  }
@Test(dataProvider = "bitsArray") public void test(int[] array, boolean oneBit) { assertEquals(new OneBit().isOneBitCharacter(array), oneBit); }