} );
String decoded = Strings.dumpBytes( stream.array() );
stream.flip();
EncKrbPrivPartContainer container = new EncKrbPrivPartContainer( stream );
try
{
decoder.decode( stream, container );
}
catch ( DecoderException e )
{
fail();
}
EncKrbPrivPart encKrbPrivPart = container.getEncKrbPrivPart();
HostAddress ad = new HostAddress( InetAddress.getByName( "127.0.0.1" ) );
assertTrue( Arrays.equals( new byte[]
{ 0, 1 }, encKrbPrivPart.getUserData() ) );