@Test
public void multipleMessagesDecode() throws Exception {

    ArrayList<Object> out = new ArrayList<>();
    ByteBuf byteBuf = Unpooled.wrappedBuffer(amsTCPPacket.getByteBuf(), amsTCPPacket.getByteBuf());
    SUT.decode(channelHandlerContextMock, byteBuf, out);
    assertThat(out, hasSize(2));
    byteBuf.release();
}