BooleanConversions { @Nonnull static Integer booleanToInt32(@Nonnull Boolean b) { return b ? 1 : 0; } private  BooleanConversions();   }
@Test public void testBooleanToInt32() { assertEquals((int) booleanToInt32(false), 0); assertEquals((int) booleanToInt32(true), 1); }