@Test
public void shouldBuildURLWithNoQueryParameters() throws Exception {

  ViewContext context = createNiceMock(ViewContext.class);
  ProxyHelper helper = new ProxyHelper(context);
  assertEquals("http://abc.com/", helper.getProxyUrl("http://abc.com", "", new MultivaluedHashMap<String, String>(), "kerberos"));
  assertEquals("http://abc.com/test/abcd", helper.getProxyUrl("http://abc.com", "test/abcd", new MultivaluedHashMap<String, String>(), "kerberos"));
}