@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));
}