public FopFactory getFopFactory() {
        return fopFactory;
    }
@Test
    public void specifyCustomUserConfigurationFile() {
        if (!canTest()) {
            // cannot run on CI
            return;
        }

        FopEndpoint customConfiguredEndpoint = context()
                .getEndpoint("fop:pdf?userConfigURL=file:src/test/data/conf/testcfg.xml",
                        FopEndpoint.class);
        float customSourceResolution = customConfiguredEndpoint.getFopFactory().getSourceResolution();
        assertEquals(96.0, customSourceResolution, 0.1);
    }