@Test(groups = "transport", dataProvider = "response")
public void decode(final byte[] berValue, final boolean frame)
  throws Exception
{

  final List<Object> out = new ArrayList<>();
  decoder.decode(null, Unpooled.wrappedBuffer(berValue), out);
  Assert.assertEquals(!out.isEmpty(), frame);
  if (frame) {
    Assert.assertEquals(((ByteBuf) out.get(0)).array(), berValue);
  }
}