class JunitHelper extends ExternalResource {

    public static final void testPrivateConstructor(Class<?> clasz) {
        // Get the empty constructor
        Constructor<?> c;
        try {
            c = clasz.getDeclaredConstructor();
            // Set it accessible
            c.setAccessible(true);
            // finally call the constructor
            c.newInstance();
        } catch (NoSuchMethodException | SecurityException | InstantiationException | IllegalAccessException |
            IllegalArgumentException | InvocationTargetException | UnsupportedOperationException e) {
            SysErrLogger.FAKE_LOGGER.ignoreLog(e);
        }
    }

    private  JunitHelper();

}