From 184e04be7efc473ae248acfdf21eec6e25ed72e0 Mon Sep 17 00:00:00 2001
From: Jaycee Li <102714969+jaycee-li@users.noreply.github.com>
Date: Fri, 16 Feb 2024 09:54:14 +0800
Subject: [PATCH] chore: add dependency byte-buddy to enable mockStatic in Java
21 (#10389)
* chore: add dependency byte-buddy to enable mockStatic in Java 21
* Add code comments for mockito-inline and byte-buddy
---
google-cloud-jar-parent/pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/google-cloud-jar-parent/pom.xml b/google-cloud-jar-parent/pom.xml
index 9d106e2d8f8b..407124b0263d 100644
--- a/google-cloud-jar-parent/pom.xml
+++ b/google-cloud-jar-parent/pom.xml
@@ -106,12 +106,20 @@
4.11.0
test
+
org.mockito
mockito-inline
4.11.0
test
+
+
+ net.bytebuddy
+ byte-buddy
+ 1.14.3
+ test
+
org.objenesis
objenesis