@Test public void toIntegerInputFalseOutputZero() { final boolean b = false; final int actual = BooleanUtil.toInteger(b); Assert.assertEquals(0, actual); }
public static int toInteger(boolean b) { return b ? 1 : 0; }
BooleanUtil { public static int toInteger(boolean b) { return b ? 1 : 0; } }
BooleanUtil { public static int toInteger(boolean b) { return b ? 1 : 0; } private  BooleanUtil(); }
BooleanUtil { public static int toInteger(boolean b) { return b ? 1 : 0; } private  BooleanUtil(); static boolean isBoolean(String value); static int toInteger(boolean b); }
BooleanUtil { public static int toInteger(boolean b) { return b ? 1 : 0; } private  BooleanUtil(); static boolean isBoolean(String value); static int toInteger(boolean b);  }