BooleanConversions { @Nonnull static UInteger booleanToUInt32(@Nonnull Boolean b) { return b ? uint(1) : uint(0); } private  BooleanConversions();   }
@Test public void testBooleanToUInt32() { assertEquals(booleanToUInt32(false), uint(0)); assertEquals(booleanToUInt32(true), uint(1)); }