BooleanConversions { @Nonnull static UByte booleanToByte(@Nonnull Boolean b) { return ubyte(b ? 1 : 0); } private  BooleanConversions();   }
@Test public void testBooleanToByte() { assertEquals(booleanToByte(false), ubyte(0)); assertEquals(booleanToByte(true), ubyte(1)); }