BooleanConversions { @Nonnull static Long booleanToInt64(@Nonnull Boolean b) { return b ? 1L : 0L; } private  BooleanConversions();   }
@Test public void testBooleanToInt64() { assertEquals((long) booleanToInt64(false), 0); assertEquals((long) booleanToInt64(true), 1); }