private void assertParseVars(final String text, final String ... expectedVars) {
        final CacheArtefactParser parser = createParser("Praefix");
        parser.parse(text);
        final Map<String, String> expectedVarMap = new HashMap<>();
        for (int i = 0; i < expectedVars.length; i += 2) {
            expectedVarMap.put(expectedVars[i], expectedVars[i + 1]);
        }
        final Map<String, String> vars = parser.getVariables();
        assertThat(vars).isEqualTo(expectedVarMap);
    }
Waypoint with formula and variables should be created with automatic calculated name
main/src/test/java/cgeo/geocaching/models/CacheArtefactParserTest.java