assertEquals("instantiate template", "artifacts", template.expand(hashMap));
hashMap = new HashMap<String, Object>();
assertEquals("instantiate template", "artifacts;", template.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var1", "somevalue");
assertEquals("instantiate template", "artifacts", template.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var2", "somevalue");
assertEquals("instantiate template", "artifacts", template.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var2", new String[] {});