void function ( ) { File loc0 = mTestFolder . newFolder ( ) ; mMetaManager = TieredBlockStoreTestUtils . defaultMetadataManager ( loc0 . getAbsolutePath ( ) ) ; mMetaManagerView = Mockito . spy ( new BlockMetadataManagerView ( mMetaManager , Sets . < Long > newHashSet ( ) , Sets . < Long > newHashSet ( ) ) ) ; }
sets up all dependencies before a test runs . concode_field_sep int TEST_DIR concode_elem_sep long TEST_BLOCK_ID concode_elem_sep BlockMetadataManager mMetaManager concode_elem_sep ExpectedException mThrown concode_elem_sep TemporaryFolder mTestFolder concode_elem_sep int TEST_TIER_ORDINAL concode_elem_sep BlockMetadataManagerView mMetaManagerView concode_elem_sep long TEST_BLOCK_SIZE concode_field_sep void getTierNotExistingTest concode_elem_sep void getAvailableBytesTest concode_elem_sep void sameTierViewTest concode_elem_sep void getBlockMetaTest concode_elem_sep void isBlockPinnedOrLockedTest concode_elem_sep void after concode_elem_sep void getTierViewTest concode_elem_sep void getTierViewsTest concode_elem_sep void getBlockMetaNotExistingTest concode_elem_sep void assertSameTierView concode_elem_sep void getTierViewsBelowTest concode_elem_sep void sameTierViewsBelowTest