@Test public void doesSupport_returnsFalse() throws Exception { KeyManager<Aead> keyManager = new KeyManagerImpl<>(new TestKeyTypeManager(), Aead.class); assertThat(keyManager.doesSupport("type.googleapis.com/SomeOtherKey")).isFalse(); }
@Override public final boolean doesSupport(String typeUrl) { return typeUrl.equals(getKeyType()); }
KeyManagerImpl implements KeyManager<PrimitiveT> { @Override public final boolean doesSupport(String typeUrl) { return typeUrl.equals(getKeyType()); } }
KeyManagerImpl implements KeyManager<PrimitiveT> { @Override public final boolean doesSupport(String typeUrl) { return typeUrl.equals(getKeyType()); } KeyManagerImpl(
      KeyTypeManager<KeyProtoT> keyTypeManager, Class<PrimitiveT> primitiveClass); }
KeyManagerImpl implements KeyManager<PrimitiveT> { @Override public final boolean doesSupport(String typeUrl) { return typeUrl.equals(getKeyType()); } KeyManagerImpl(
      KeyTypeManager<KeyProtoT> keyTypeManager, Class<PrimitiveT> primitiveClass); @Override final PrimitiveT getPrimitive(ByteString serializedKey); @Override final PrimitiveT getPrimitive(MessageLite key); @Override final MessageLite newKey(ByteString serializedKeyFormat); @Override final MessageLite newKey(MessageLite keyFormat); @Override final boolean doesSupport(String typeUrl); @Override final String getKeyType(); @Override int getVersion(); @Override final KeyData newKeyData(ByteString serializedKeyFormat); @Override final Class<PrimitiveT> getPrimitiveClass(); }
KeyManagerImpl implements KeyManager<PrimitiveT> { @Override public final boolean doesSupport(String typeUrl) { return typeUrl.equals(getKeyType()); } KeyManagerImpl(
      KeyTypeManager<KeyProtoT> keyTypeManager, Class<PrimitiveT> primitiveClass); @Override final PrimitiveT getPrimitive(ByteString serializedKey); @Override final PrimitiveT getPrimitive(MessageLite key); @Override final MessageLite newKey(ByteString serializedKeyFormat); @Override final MessageLite newKey(MessageLite keyFormat); @Override final boolean doesSupport(String typeUrl); @Override final String getKeyType(); @Override int getVersion(); @Override final KeyData newKeyData(ByteString serializedKeyFormat); @Override final Class<PrimitiveT> getPrimitiveClass();  }