### Question:
Blur024Codec extends Codec { @Override public final DocValuesFormat docValuesFormat() { return docValuesFormat; } Blur024Codec();  Blur024Codec(int chunkSize, CompressionMode compressionMode);  Blur024Codec(BlurConfiguration configuration); @Override final StoredFieldsFormat storedFieldsFormat(); @Override final TermVectorsFormat termVectorsFormat(); @Override final PostingsFormat postingsFormat(); @Override final FieldInfosFormat fieldInfosFormat(); @Override final SegmentInfoFormat segmentInfoFormat(); @Override final LiveDocsFormat liveDocsFormat(); PostingsFormat getPostingsFormatForField(String field); DocValuesFormat getDocValuesFormatForField(String field); @Override final DocValuesFormat docValuesFormat(); @Override final NormsFormat normsFormat();  }### Answer:
@Test public void testDocValuesFormat() throws IOException { RAMDirectory directory = new RAMDirectory(); IndexWriterConfig conf = new IndexWriterConfig(Version.LUCENE_43, new WhitespaceAnalyzer(Version.LUCENE_43)); conf.setCodec(new Blur024Codec()); IndexWriter writer = new IndexWriter(directory, conf); Document doc = new Document(); doc.add(new StringField("f", "v", Store.YES)); doc.add(new SortedDocValuesField("f", new BytesRef("v"))); writer.addDocument(doc); writer.close(); DirectoryReader reader = DirectoryReader.open(directory); AtomicReaderContext context = reader.leaves().get(0); AtomicReader atomicReader = context.reader(); SortedDocValues sortedDocValues = atomicReader.getSortedDocValues("f"); assertTrue(sortedDocValues.getClass().getName().startsWith(DiskDocValuesProducer.class.getName())); reader.close(); }