tests that re-registering via masterworkerinfo #register storagetierassoc , list , map , map , set works . concode_field_sep Map<String,Long> TOTAL_BYTES_ON_TIERS concode_elem_sep StorageTierAssoc GLOBAL_STORAGE_TIER_ASSOC concode_elem_sep Map<String,Long> USED_BYTES_ON_TIERS concode_elem_sep ExpectedException mThrown concode_elem_sep MasterWorkerInfo mInfo concode_elem_sep List<String> STORAGE_TIER_ALIASES concode_elem_sep Set<Long> NEW_BLOCKS concode_field_sep void registerTest concode_elem_sep void workerInfoGenerationTest concode_elem_sep void before concode_elem_sep void blockOperationTest concode_elem_sep void updateToRemovedBlockTest concode_elem_sep void updateUsedBytesTest concode_elem_sep void updateUsedBytesInTierTest concode_elem_sep void getFreeBytesOnTiersTest concode_elem_sep void registerWithDifferentNumberOfTiersTest
void function ( ) { Set < Long > loc0 = Sets . newHashSet ( 3L ) ; Set < Long > loc1 = mInfo . register ( GLOBAL_STORAGE_TIER_ASSOC , STORAGE_TIER_ALIASES , TOTAL_BYTES_ON_TIERS , USED_BYTES_ON_TIERS , loc0 ) ; Assert . assertEquals ( NEW_BLOCKS , loc1 ) ; Assert . assertEquals ( loc0 , mInfo . getBlocks ( ) ) ; }