/**
* Testing of {@link BarrierInputMessageFactory} for correct translation from POJO
- * @throws Exception
+ * @throws Exception
*/
@Test
public void test() throws Exception {
BarrierInputBuilder bib = new BarrierInputBuilder();
BufferHelper.setupHeader(bib, EncodeConstants.OF13_VERSION_ID);
BarrierInput bi = bib.build();
-
+
ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer();
barrierFactory.serialize(bi, out);
-
+
BufferHelper.checkHeaderV13(out, BARRIER_REQUEST_MESSAGE_CODE_TYPE, 8);
}