@Test
  @SuppressWarnings("deprecation") // This is a test for the deprecated function
  public void testDoesSupport_works() throws Exception {
    assertTrue(manager.doesSupport("type.googleapis.com/google.crypto.tink.PrfBasedDeriverKey"));
    assertFalse(manager.doesSupport("type.googleapis.com/google.crypto.tink.AesGcmKey"));
  }
We test newKeyData directly because PrfBasedDeriverKeyManager has its own implementation.
java_src/src/test/java/com/google/crypto/tink/keyderivation/internal/PrfBasedDeriverKeyManagerTest.java