@Test
    public void testAssertNotNullNull() {
        try {
            CommonHelper.assertNotNull(NAME, null);
            fail("must throw an TechnicalException");
        } catch (final TechnicalException e) {
            assertEquals(NAME + " cannot be null", e.getMessage());
        }
    }
This class tests the {@link CommonHelper} class.

@author Jerome Leleu
@since 1.4.0
pac4j-core/src/test/java/org/pac4j/core/util/CommonHelperTests.java