### Question:
IndexFolderLayout implements FolderLayout { @Override public File getIndexFolder() { return indexFolder; } IndexFolderLayout( File rootDirectory ); @Override File getIndexFolder(); @Override File getPartitionFolder( int partition );  }### Answer:
@Test void testIndexFolder() { IndexFolderLayout indexLayout = createTestIndex(); File indexFolder = indexLayout.getIndexFolder(); assertEquals( indexRoot, indexFolder ); }