@Test
void testGetLocationWhenDocumentEntityProvidesTheCompression() {

    final VaultLocation result = underTest.getLocation(DOCUMENT_ENTITY);
    assertThat(result, is(notNullValue()));
    verify(fileFactory,atMostOnce()).newFile(any(), any());
    verify(fileFactory).newFile("testpath", "123e4567-e89b-12d3-a456-556642440000.epub.lzma");
}