### Question:
CryptoCavaWrapper { public static byte[] base64Decode(byte[] base64Decoded) { return ((SodiumDecoder) (in, out, reference) -> Sodium.sodium_base642bin(out, in.length, in, in.length, null, reference, null, VARIANT_URLSAFE_NO_PADDING) ).decode(base64Decoded); } private  CryptoCavaWrapper(); static byte[] base64Decode(byte[] base64Decoded); static byte[] hexToBin(byte[] hex); static void cryptoGenericHashBlake2b(byte[] out, byte[] in, byte[] key); static byte[] randomBytes(int length); static void cryptoSignDetached(byte[] out, byte[] msg, byte[] privateKey); static void cryptoSignEd25519SeedKeypair(byte[] seed, byte[] pkey, byte[] sk); static int cryptoSignVerifyDetached(byte[] signature, byte[] message, byte[] publicKey); static final int VARIANT_URLSAFE_NO_PADDING; }### Answer:
@Test public void base64Decoding() { byte[] base64Encoded = getUrlEncoder().withoutPadding().encode("test".getBytes()); assertArrayEquals("test".getBytes(StandardCharsets.UTF_8), CryptoCavaWrapper.base64Decode(base64Encoded)); }