hashMap = new HashMap<String, Object>();
hashMap.put("var", new String[] {"d", "e", ""});
assertEquals("instantiate template2", "locations/d/e/", template2.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var", new String[] {"hello", "baby", "go", "home"});
assertEquals("instantiate template3", "telegram:hellostopbabystopgostophome", template3
.expand(hashMap));
hashMap = new HashMap<String, Object>();
hashMap.put("var", "value");
assertEquals("instantiate template1", "locations/value", template1.expand(hashMap));
}