@Test(expected = TezWebAppException.class)
public void shouldThrowExceptionIfWrongUrl() throws Exception {

  ViewContext context = createNiceMock(ViewContext.class);
  ProxyHelper helper = new ProxyHelper(context);
  helper.getProxyUrl("####", "", new MultivaluedHashMap<String, String>(), "kerberos");
}