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("var2", new String[] {});
assertEquals("instantiate template", "artifacts", template.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var2", new String[] {null});
assertEquals("instantiate template", "artifacts;", template.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var2", new String[] {""});