### Question:
OutboundQueueEntry { void commit(final OfHeader message, final FutureCallback<OfHeader> callback) { commit(message, callback, DEFAULT_IS_COMPLETE); }   static final Function<OfHeader, Boolean> DEFAULT_IS_COMPLETE; }### Answer:
@Test public void commit() throws Exception { outboundQueueEntry.commit(ofHeader, futureCallback); Assert.assertTrue(outboundQueueEntry.isCommitted()); Assert.assertFalse(outboundQueueEntry.isCompleted()); Assert.assertFalse(outboundQueueEntry.isBarrier()); }