@Test
public void testStartWithBindHost() {

  String bindHost = "0.0.0.0";
  conf.set(YarnConfiguration.PROXY_BIND_HOST, bindHost);
  webAppProxy.init(conf);
  assertEquals(STATE.INITED, webAppProxy.getServiceState());
  webAppProxy.start();
  for (Service service : webAppProxy.getServices()) {
    if (service instanceof WebAppProxy) {
      assertEquals(bindHost + ":" + port,
          ((WebAppProxy) service).getBindAddress());
    }
  }
  assertEquals(STATE.STARTED, webAppProxy.getServiceState());
}