@Test
void base64URLSafe() {

    byte[] bytes = new byte[256];
    for (int i = 0; i < bytes.length; i++) {
        bytes[i] = (byte) i;
    }
    String encodedMessage = Encodings.base64URLSafe(bytes);
    assertThat(Encodings.decodeBase64URLSafe(encodedMessage)).containsExactly(bytes);
}