0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03
} );
bb.flip();
SyncInfoValue decorator = new SyncInfoValueDecorator( codec );
decorator.setType( SynchronizationInfoEnum.SYNC_ID_SET );
SyncInfoValue syncInfoValue = (SyncInfoValue)((SyncInfoValueDecorator)decorator).decode( bb.array() );
assertEquals( SynchronizationInfoEnum.SYNC_ID_SET, syncInfoValue.getType() );
assertEquals( "abc", Strings.utf8ToString(syncInfoValue.getCookie()) );
assertFalse( syncInfoValue.isRefreshDeletes() );
assertEquals( 3, syncInfoValue.getSyncUUIDs().size() );
for ( int i = 0; i < 3; i++ )
{
byte[] uuid = syncInfoValue.getSyncUUIDs().get( i );
for ( int j = 0; j < 16; j++ )
{
assertEquals( i + 1, uuid[j] );
}