Skip to content

Commit

Permalink
feat: add mockito dependency if needed (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonVerhoeven authored Oct 19, 2023
1 parent 8e1dffb commit 48fecc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/META-INF/rewrite/jmockit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ recipeList:
oldFullyQualifiedTypeName: mockit.integration.junit5.JMockitExtension
newFullyQualifiedTypeName: org.mockito.junit.jupiter.MockitoExtension
- org.openrewrite.java.testing.jmockit.JMockitExpectationsToMockitoWhen
- org.openrewrite.java.dependencies.AddDependency:
groupId: org.mockito
artifactId: mockito-core
version: 5.x
onlyIfUsing: org.mockito.*
acceptTransitive: true

0 comments on commit 48fecc0

Please sign in to comment.