public static void assertNotNull(final String name, final Object obj) {
        assertTrue(obj != null, name + " cannot be null");
    }
Verify that an Object is not <code>null</code> otherwise throw a {@link TechnicalException}.

@param name name of the object
@param obj  object
pac4j-core/src/main/java/org/pac4j/core/util/CommonHelper.java