@Test
 public void testValidSupportsCredentials() {
   assertTrue(this.resolver.supports(TestUtils.getHttpBasedServiceCredentials()));
 }
 @Test
 public void testValidCredentials() {
   assertEquals(
       this.resolver.resolvePrincipal(TestUtils.getHttpBasedServiceCredentials()).getId(),
       TestUtils.getHttpBasedServiceCredentials().getCallbackUrl().toExternalForm());
 }
 @Test
 public void testProperUrl() {
   assertEquals(
       TestUtils.CONST_GOOD_URL,
       TestUtils.getHttpBasedServiceCredentials().getCallbackUrl().toExternalForm());
 }