@Before
public void setUp() throws Exception {
super.setUp();
RestCfg cfg = new RestCfg(new ByteArrayInputStream(String.format(
"rest.port=%s\n" +
"rest.endpoint.1=%s;%s\n",
GRIZZLY_PORT, CONTEXT_PATH, ZKHOSTPORT).getBytes()));
rest = new RestMain(cfg);