Skip to content

ph unittest support ext

Philip Helger edited this page Apr 8, 2026 · 1 revision

Extended unit test support utilities, building on ph-unittest-support.

Highlights:

  • CommonsMock - mock creation utilities for commons types
  • SPITestHelper - test utilities for verifying SPI (ServiceLoader) declarations

Maven usage

Add the following to your pom.xml to use this artifact (test scope):

<dependency>
  <groupId>com.helger.commons</groupId>
  <artifactId>ph-unittest-support-ext</artifactId>
  <version>x.y.z</version>
  <scope>test</scope>
</dependency>

Clone this wiki locally