repoTO.setMultiChunker(TestConfigUtil.createZipMultiChunkerTO()); // <<< valid
repoTO.setRepoId(new byte[] { 0x01, 0x02 }); // <<< valid
repoTO.setTransformers(null); // <<< valid
// Run!
Config config = new Config(localDir, configTO, repoTO);
// Test
assertEquals("/some/folder/.syncany", config.getAppDir().getAbsolutePath());
assertEquals("/some/folder/.syncany/cache", config.getCacheDir().getAbsolutePath());
assertEquals("/some/folder/.syncany/db", config.getDatabaseDir().getAbsolutePath());
assertEquals("/some/folder/.syncany/db/local.db", config.getDatabaseFile().getAbsolutePath());
assertNotNull(config.getChunker());
assertEquals("FixedChunker", config.getChunker().getClass().getSimpleName());
assertEquals("SHA1", config.getChunker().getChecksumAlgorithm());
assertNotNull(config.getMultiChunker());
assertEquals("ZipMultiChunker", config.getMultiChunker().getClass().getSimpleName());
assertNotNull(config.getTransformer());
assertEquals("NoTransformer", config.getTransformer().getClass().getSimpleName());
assertNotNull(config.getCache());
}