Skip to content

Commit 104380a

Browse files
tastybentoCopilot
andauthored
Update CLAUDE.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 11decd0 commit 104380a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This is a BentoBox addon, not a standalone plugin. The lifecycle flows through:
3535

3636
### Testing
3737

38-
Tests use **JUnit 4 + PowerMock + Mockito**. PowerMock is needed to mock static Bukkit methods. The Surefire plugin is configured with extensive `--add-opens` JVM args for Java 21 compatibility. `ServerMocks` utility class provides reusable mock server setup.
38+
Tests use **JUnit 5 + Mockito**. For static Bukkit methods, use Mockito static mocking via `Mockito.mockStatic` rather than adding new JUnit 4/PowerMock-based tests. The Surefire plugin is configured with extensive `--add-opens` JVM args for Java 21 compatibility. `ServerMocks` utility class provides reusable mock server setup.
3939

4040
### Configuration
4141

0 commit comments

Comments
 (0)