### Question:
Lz4Util { public static byte[] decompress(byte[] bytes) { if (bytes == null) { throw new NullPointerException("bytes is null"); } ByteArrayOutputStream outputStream = new ByteArrayOutputStream(ARRAY_SIZE); LZ4FastDecompressor decompressor = LZ4Factory.fastestInstance().fastDecompressor(); ByteArrayInputStream inputStream = new ByteArrayInputStream(bytes); try (LZ4BlockInputStream decompressedInputStream = new LZ4BlockInputStream(inputStream, decompressor)) { int count; byte[] buffer = new byte[ARRAY_SIZE]; while ((count = decompressedInputStream.read(buffer)) != -1) { outputStream.write(buffer, 0, count); } } catch (IOException e) { LOGGER.error("decompress bytes error", e); } return outputStream.toByteArray(); }  static byte[] compress(byte[] bytes); static byte[] decompress(byte[] bytes);  }### Answer:
@Test public void testDecompress() { Assertions.assertThrows(NullPointerException.class, () -> { Lz4Util.decompress(null); }); }