catch ( DecoderException de )
{
fail( de.getMessage() );
}
AdAndOr adAndOr = adAndOrContainer.getAdAndOr();
assertEquals( 2, adAndOr.getConditionCount() );
ByteBuffer bb = ByteBuffer.allocate( adAndOr.computeLength() );
try
{
bb = adAndOr.encode( bb );
// Check the length
assertEquals( 0x2D, bb.limit() );
String encodedPdu = Strings.dumpBytes( bb.array() );