### Question:
DefaultPojoDaoFactoryBuilder { public DefaultPojoDaoFactoryBuilder withContextFactory(PojoQueryContextFactory contextFactory) { this.contextFactory = contextFactory; return this; } DefaultPojoDaoFactoryBuilder(Session session); DefaultPojoDaoFactory build(); DefaultPojoDaoFactoryBuilder withBindingFactory(PojoBindingFactory bindingFactory); DefaultPojoDaoFactoryBuilder withContextFactory(PojoQueryContextFactory contextFactory); DefaultPojoDaoFactoryBuilder withConverter(Converter converter); DefaultPojoDaoFactoryBuilder withConverter(ConverterProvider provider); DefaultPojoDaoFactoryBuilder withConverterRegistry(ConverterRegistry converterRegistry); DefaultPojoDaoFactoryBuilder withExecutor(Executor executor); DefaultPojoDaoFactoryBuilder withFacetProvider(FacetProvider facetProvider); DefaultPojoDaoFactoryBuilder withListener(PojoDaoFactoryListener listener); DefaultPojoDaoFactoryBuilder withMaximumCacheSize(int maximumCacheSize); DefaultPojoDaoFactoryBuilder withNamingStrategy(NamingStrategy namingStrategy); DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory); DefaultPojoDaoFactoryBuilder withThreadPoolSize(int threadPoolSize);  }### Answer:
@Test public void testWithCostomeContextFactory() { PojoStatementFactory statementFactory = new DefaultPojoStatementFactory(getSession()); useFactory(builder().withContextFactory(new DefaultPojoQueryContextFactory(getSession(), statementFactory))); }