### Question:
HCBatchOperations implements BatchOperations<BatchRequest> { protected ObjectWriter configuredWriter() { return new ExtendedObjectMapper(new MappingJsonFactory()) .setSerializationInclusion(JsonInclude.Include.NON_EMPTY) .addMixIn(IndexRequest.class, IndexRequestMixIn.class) .writerFor(IndexRequest.class); } HCBatchOperations(PooledItemSourceFactory pooledItemSourceFactory, String mappingType); @Override Object createBatchItem(String indexName, Object source); @Override Object createBatchItem(String indexName, ItemSource source); @Override BatchBuilder<BatchRequest> createBatchBuilder();  }### Answer:
@Test public void createsConfiguredWriter() { PooledItemSourceFactory itemSourceFactory = PooledItemSourceFactoryTest.createDefaultTestSourceFactoryConfig().build(); HCBatchOperations batchOperations = new HCBatchOperations(itemSourceFactory, null); ObjectWriter writer = batchOperations.configuredWriter(); Assert.assertNotNull(writer); }