assertEquals( SortResultCode.SUCCESS, control.getSortResult() );
assertEquals( "cn", control.getAttributeName() );
ByteBuffer encoded = ByteBuffer.allocate( buffer.capacity() );
decorator.computeLength();
decorator.encode( encoded );
assertTrue( Arrays.equals( buffer.array(), encoded.array() ) );
}