@Test
public void testDecodeWritableArgSanityCheck() throws Exception {

  Token<AbstractDelegationTokenIdentifier> token = new Token<>();
  intercept(HadoopIllegalArgumentException.class,
      () -> token.decodeFromUrlString(null));
}