### Question:
B2LargeFileStorer { public static B2LargeFileStorer forLocalContent( B2FileVersion largeFileVersion, B2ContentSource contentSource, B2PartSizes partSizes, B2AccountAuthorizationCache accountAuthCache, B2StorageClientWebifier webifier, B2Retryer retryer, Supplier<B2RetryPolicy> retryPolicySupplier, ExecutorService executor) throws B2Exception { final List<B2PartStorer> partContentSources = new ArrayList<>(); try { for (final B2PartSpec partSpec : partSizes.pickParts(contentSource.getContentLength())) { final B2UploadingPartStorer localPartContentSource = new B2UploadingPartStorer( partSpec.getPartNumber(), createRangedContentSource(contentSource, partSpec.getStart(), partSpec.getLength())); partContentSources.add(localPartContentSource); } } catch (IOException e) { throw new B2LocalException("trouble", "exception working with content source" + e, e); } return new B2LargeFileStorer( largeFileVersion, partContentSources, accountAuthCache, webifier, retryer, retryPolicySupplier, executor); } B2LargeFileStorer(
            B2FileVersion fileVersion,
            List<B2PartStorer> partStorers,
            B2AccountAuthorizationCache accountAuthCache,
            B2StorageClientWebifier webifier,
            B2Retryer retryer,
            Supplier<B2RetryPolicy> retryPolicySupplier,
            ExecutorService executor); static B2LargeFileStorer forLocalContent(
            B2FileVersion largeFileVersion,
            B2ContentSource contentSource,
            B2PartSizes partSizes,
            B2AccountAuthorizationCache accountAuthCache,
            B2StorageClientWebifier webifier,
            B2Retryer retryer,
            Supplier<B2RetryPolicy> retryPolicySupplier,
            ExecutorService executor);  }### Answer:
@Test public void testForLocalContent() throws B2Exception { final B2LargeFileStorer largeFileStorer = createFromLocalContent(); List<B2PartStorer> partStorers = largeFileStorer.getPartStorers(); assertEquals(3, partStorers.size()); assertEquals( new B2UploadingPartStorer(1, new TestContentSource(0, PART_SIZE_FOR_FIRST_TWO, false)), partStorers.get(0)); assertEquals( new B2UploadingPartStorer(2, new TestContentSource(PART_SIZE_FOR_FIRST_TWO, PART_SIZE_FOR_FIRST_TWO, false)), partStorers.get(1)); assertEquals( new B2UploadingPartStorer(3, new TestContentSource(2 * PART_SIZE_FOR_FIRST_TWO, LAST_PART_SIZE, false)), partStorers.get(2)); }