### Question:
Lz4CompressUtils { public static byte[] decompressSafe(final byte[] src, int maxDecompressedSize) { if (src == null) { throw new IllegalArgumentException("src must not be null."); } if (maxDecompressedSize <= 0) { throw new IllegalArgumentException("maxDecompressedSize must be larger than 0 but " + maxDecompressedSize); } LZ4SafeDecompressor decompressor = factory.safeDecompressor(); return decompressor.decompress(src, maxDecompressedSize); }  static byte[] compress(final byte[] src); static byte[] decompressSafe(final byte[] src, int maxDecompressedSize); static byte[] decompressFast(byte[] src, int srcOffset, int exactDecompressedSize); static byte[] decompressFast(final byte[] src, int exactDecompressedSize);  }### Answer:
@Test public void decompressSafe_maxDecompressedSize_is_0() throws Exception { expectedException.expect(IllegalArgumentException.class); Lz4CompressUtils.decompressSafe(new byte[]{1, 2, 3}, 0); }
@Test public void decompressSafe_without_src() throws Exception { expectedException.expect(IllegalArgumentException.class); Lz4CompressUtils.decompressSafe(null, 10); }