@Test
public void testDecodeBase64_url_noPadding() throws Exception {

    for (byte[] sample : randomSamples) {
        String input = Base64.getUrlEncoder().encodeToString(sample).replaceAll("=", "");
        assertArrayEquals(sample, decodeBase64(input));
    }
}