@Test
void deserialize_data_with_surplus_bytes_test() {

    //noinspection SpellCheckingInspection
    String input = "SZYN5YgOjGh0NBcPZHZgW4_krrmihjLHmVzzuoMdl2MBAAABRQ";
    byte[] data = Base64UrlUtil.decode(input);
    byte[] bytes = Arrays.copyOf(data, data.length + 1);
    AuthenticatorDataConverter authenticatorDataConverter = new AuthenticatorDataConverter(objectConverter);
    //When
    assertThrows(DataConversionException.class,
            () -> authenticatorDataConverter.convert(bytes)
    );
}