} );
String decodedPdu = Strings.dumpBytes( stream.array() );
stream.flip();
AdAndOrContainer adAndOrContainer = new AdAndOrContainer();
adAndOrContainer.setStream( stream );
try
{
krbDecoder.decode( stream, adAndOrContainer );
}
catch ( DecoderException de )
{
fail( de.getMessage() );
}
AdAndOr adAndOr = adAndOrContainer.getAdAndOr();
assertEquals( 2, adAndOr.getConditionCount() );
ByteBuffer bb = ByteBuffer.allocate( adAndOr.computeLength() );