message: Replace a parametrized test with Theory and use it internally with tink_android_test.
  tink_android_test is prefered than the previous way of collecting everything.
  Parametrized tests do not work on android at the moment, so we use Theory which works, instead.
diff: @@ -51,14 +51,15 @@ import java.time.ZoneOffset;
  import java.util.Set;
  import java.util.TreeSet;
  import javax.crypto.spec.SecretKeySpec;
  -import junitparams.JUnitParamsRunner;
  -import junitparams.Parameters;
  import org.junit.BeforeClass;
  import org.junit.Test;
  +import org.junit.experimental.theories.DataPoint;
  +import org.junit.experimental.theories.Theories;
  +import org.junit.experimental.theories.Theory;
  import org.junit.runner.RunWith;
  /** Unit tests for {@link JwtHmacKeyManager}. */
  -@RunWith(JUnitParamsRunner.class)
  +@RunWith(Theories.class)
  public class JwtHmacKeyManagerTest {
  private final JwtHmacKeyManager manager = new JwtHmacKeyManager();
  private final KeyTypeManager.KeyFactory<JwtHmacKeyFormat, JwtHmacKey> factory =
  @@ -69,14 +70,10 @@ public class JwtHmacKeyManagerTest {
  JwtMacConfig.register();
  }
  - private static Object[] templates() {
  - return new Object[] {
  - "JWT_HS256",
  - "JWT_HS384",
  - "JWT_HS512",
  - "JWT_HS256_RAW",
  - };
  - }
  + @DataPoint public static final String JWT_HS256 = "JWT_HS256";
  + @DataPoint public static final String JWT_HS384 = "JWT_HS384";
  + @DataPoint public static final String JWT_HS512 = "JWT_HS512";
  + @DataPoint public static final String JWT_HS256_RAW = "JWT_HS256_RAW";
  @Test
  public void validateKeyFormat_empty() throws Exception {
  @@ -226,8 +223,7 @@ public class JwtHmacKeyManagerTest {
  testKeyTemplateCompatible(manager, KeyTemplates.get("JWT_HS512_RAW"));
  }
  - @Test
  - @Parameters(method = "templates")
  + @Theory
  public void createSignVerify_success(String templateNames) throws Exception {
  KeysetHandle handle = KeysetHandle.generateNew(KeyTemplates.get(templateNames));
  JwtMac primitive = handle.getPrimitive(JwtMac.class);
  @@ -238,8 +234,7 @@ public class JwtHmacKeyManagerTest {
  assertThat(verifiedToken.getJwtId()).isEqualTo("jwtId");
  }
  - @Test
  - @Parameters(method = "templates")
  + @Theory
  public void createSignVerifyDifferentKey_throw(String templateNames) throws Exception {
  KeyTemplate template = KeyTemplates.get(templateNames);
  KeysetHandle handle = KeysetHandle.generateNew(template);
  @@ -255,8 +250,7 @@ public class JwtHmacKeyManagerTest {
  () -> otherPrimitive.verifyMacAndDecode(compact, validator));
  }
  - @Test
  - @Parameters(method = "templates")
  + @Theory
  public void createSignVerify_modifiedHeader_throw(String templateNames) throws Exception {
  KeysetHandle handle = KeysetHandle.generateNew(KeyTemplates.get(templateNames));
  JwtMac mac = handle.getPrimitive(JwtMac.class);
  @@ -278,8 +272,7 @@ public class JwtHmacKeyManagerTest {
  }
  }
  - @Test
  - @Parameters(method = "templates")
  + @Theory
  public void createSignVerify_modifiedPayload_throw(String templateNames) throws Exception {
  KeysetHandle handle = KeysetHandle.generateNew(KeyTemplates.get(templateNames));
  JwtMac mac = handle.getPrimitive(JwtMac.class);
  @@ -301,8 +294,7 @@ public class JwtHmacKeyManagerTest {
  }
  }
  - @Test
  - @Parameters(method = "templates")
  + @Theory
  public void verify_modifiedSignature_shouldThrow(String templateNames) throws Exception {
  KeysetHandle handle = KeysetHandle.generateNew(KeyTemplates.get(templateNames));
  JwtMac mac = handle.getPrimitive(JwtMac.class);
  