### Question:
JBBPFieldBoolean extends JBBPAbstractField implements JBBPNumericField { @Override public long getAsInvertedBitOrder() { return reverseBits(this.value); } JBBPFieldBoolean(final JBBPNamedFieldInfo name, final boolean value); static long reverseBits(final boolean value); @Override double getAsDouble(); @Override float getAsFloat(); @Override int getAsInt(); @Override long getAsLong(); @Override boolean getAsBool(); @Override long getAsInvertedBitOrder(); @Override String getTypeAsString();  }### Answer:
@Test public void testGetAsInvertedBitOrder() { assertEquals(0L, new JBBPFieldBoolean(new JBBPNamedFieldInfo("test.field", "field", 123), false).getAsInvertedBitOrder()); assertEquals(1L, new JBBPFieldBoolean(new JBBPNamedFieldInfo("test.field", "field", 123), true).getAsInvertedBitOrder()); }