You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ma...@apache.org on 2022/08/29 03:20:47 UTC
[pulsar] 01/01: [Branch-2.9] Add `Mockito-inline` to help mock final class.
This is an automated email from the ASF dual-hosted git repository.
mattisonchao pushed a commit to branch add_mockito_inline
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit b2456e897da0a2315d4c7108a4e29b700d59ccf7
Author: mattisonchao <ma...@apache.org>
AuthorDate: Mon Aug 29 11:19:47 2022 +0800
[Branch-2.9] Add `Mockito-inline` to help mock final class.
---
pom.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/pom.xml b/pom.xml
index 4eadddd7ccd..07c2059ec48 100644
--- a/pom.xml
+++ b/pom.xml
@@ -317,6 +317,12 @@ flexible messaging model and an intuitive client API.</description>
<version>${mockito.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-inline</artifactId>
+ <version>${mockito.version}</version>
+ </dependency>
+
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
@@ -1278,6 +1284,12 @@ flexible messaging model and an intuitive client API.</description>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-inline</artifactId>
+ <scope>test</scope>
+ </dependency>
+
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>