Base64UrlStringToCollectedClientDataConverter implements Converter<String, CollectedClientData> { @Override public CollectedClientData convert(String source) { return converter.convert(source); } Base64UrlStringToCollectedClientDataConverter(ObjectConverter objectConverter); @Override CollectedClientData convert(String source);  }
@Test public void convert_test() { CollectedClientData expected = TestDataUtil.createClientData(ClientDataType.GET); String source = new CollectedClientDataConverter(objectConverter).convertToBase64UrlString(expected); CollectedClientData result = new Base64UrlStringToCollectedClientDataConverter(objectConverter).convert(source); assertThat(result).isEqualTo(expected); }