BrokerDelegationTokenBinding extends AbstractDelegationTokenBinding { @Override public DelegationTokenIdentifier createTokenIdentifier() throws IOException { return createEmptyIdentifier(); } BrokerDelegationTokenBinding(); @Override AccessTokenProvider deployUnbonded(); @Override AccessTokenProvider bindToTokenIdentifier(DelegationTokenIdentifier retrievedIdentifier); @Override DelegationTokenIdentifier createTokenIdentifier(); @Override DelegationTokenIdentifier createTokenIdentifier(Text renewer); @Override DelegationTokenIdentifier createEmptyIdentifier();  }
@Test public void testCreateTokenIdentifier() { BrokerDelegationTokenBinding binding = new BrokerDelegationTokenBinding(); BrokerTokenIdentifier identifier = (BrokerTokenIdentifier) binding.createEmptyIdentifier(); }