@Test
 public void verifyValidProxyTicketWithQueryString() throws Exception {
   assertNotNull(
       this.handler.handle(
           new HttpBasedServiceCredential(
               new URL("https://www.google.com/?test=test"),
               org.jasig.cas.authentication.TestUtils.getRegisteredService(
                   "https://some.app.edu")),
           proxyGrantingTicket));
 }
 @Test
 public void verifyNonValidProxyTicket() throws Exception {
   final SimpleHttpClientFactoryBean clientFactory = new SimpleHttpClientFactoryBean();
   clientFactory.setAcceptableCodes(new int[] {900});
   final HttpClient httpClient = clientFactory.getObject();
   this.handler.setHttpClient(httpClient);
   assertNull(
       this.handler.handle(
           new HttpBasedServiceCredential(
               new URL("http://www.rutgers.edu"),
               org.jasig.cas.authentication.TestUtils.getRegisteredService(
                   "https://some.app.edu")),
           proxyGrantingTicket));
 }