close

Filter

loading table of contents...

Release Notes / Version 11.2307

Table Of Contents

Removed Usage of PowerMock Java Test Library

Previous releases used the PowerMock library in a small number of Java unit tests to mock static methods and object construction. These usages have now been replaced with new functionality of the Mockito testing library. PowerMock isn't used anymore.

This was changed to prevent future incompatibilities between Mockito and PowerMock. We recommend to replace custom usages of PowerMock as well, if possible.

If you still want to use PowerMock in custom classes, you have to manage the Maven dependency and version yourself. PowerMock is now also listed as banned dependency by default. See the "Blueprint Developer Manual", section "Blueprint Workspace for Developers | Concepts and Architecture | Structure of the Workspace | Enforcer" for information how to customize banned dependencies.

(CMS-20448)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.