BrokerDelegationTokenBinding extends AbstractDelegationTokenBinding { @Override public AccessTokenProvider deployUnbonded() throws IOException { return new BrokerAccessTokenProvider(getService()); } BrokerDelegationTokenBinding(); @Override AccessTokenProvider deployUnbonded(); @Override AccessTokenProvider bindToTokenIdentifier(DelegationTokenIdentifier retrievedIdentifier); @Override DelegationTokenIdentifier createTokenIdentifier(); @Override DelegationTokenIdentifier createTokenIdentifier(Text renewer); @Override DelegationTokenIdentifier createEmptyIdentifier();  }
@Test public void testDeployUnbonded() { BrokerDelegationTokenBinding binding = new BrokerDelegationTokenBinding(); try { BrokerAccessTokenProvider provider = (BrokerAccessTokenProvider) binding.deployUnbonded(); } catch (IOException e) { fail(); } }