@Test
public void generatedOriginFilesConfigHasCorrectStrings() throws Exception {

    // we use the commit 4b218e6 instead of origin/plain, because the number of definitions changes fast
    this.setRevisionTo("4b218e6");
    CopybaraGenerator copybaraGenerator = new CopybaraGenerator();
    String config = copybaraGenerator.generateOriginFilesConfig();
    assertEquals("origin_files = glob([\"README.md\", \"LICENSE\", \"artifacttemplates/http%3A%2F%2Fplain.winery.opentosca.org%2Fartifacttemplates/ArtifactTemplateWithFilesAndSources-ArtifactTypeWithoutProperties/**\",\n" +
        "        \"artifacttemplates/http%3A%2F%2Fplain.winery.opentosca.org%2Fartifacttemplates/ArtifactTemplateWithoutAnyFiles-ArtifactTypeWithoutProperties/**\"]),", config);
}