@Test
public void extractProvisionsPlaintextObfuscated() throws IOException {

    Provisioner p = new Provisioner();
    List<File> files = Arrays.asList(getResourceFile("demo_credentials_user1.fdrp"));
    List<Provisioner.ProvisionPlaintext> result = p.extractProvisionsPlaintext(files);
    Assert.assertEquals(result.size(), 1);
    Assert.assertEquals("{\"sigfp\": \"1111222233334444555566667777888899990000aaaabbbbccccddddeeeeffff\", \"name\": \"Example Repo\", \"password\": \"secret1\", \"url\": \"https://example.com/fdroid/repo\", \"username\": \"user1\"}", result.get(0).getRepositoryProvision());
    Assert.assertTrue(String.valueOf(result.get(0).getProvisionPath()).endsWith("demo_credentials_user1.fdrp"));
}