### Question:
CommonAbstractStore implements RecordStore<RECORD>, AutoCloseable { void logIdUsage( Logger logger ) { logger.log( String.format( " %s[%s]: used=%s high=%s", getTypeDescriptor(), getStorageFile().getName(), getNumberOfIdsInUse(), getHighestPossibleIdInUse() ) ); } CommonAbstractStore(
            File file,
            File idFile,
            Config configuration,
            IdType idType,
            IdGeneratorFactory idGeneratorFactory,
            PageCache pageCache,
            LogProvider logProvider,
            String typeDescriptor,
            RecordFormat<RECORD> recordFormat,
            StoreHeaderFormat<HEADER> storeHeaderFormat,
            String storeVersion,
            OpenOption... openOptions ); String getTypeDescriptor(); @Override int getRecordsPerPage(); byte[] getRawRecordData( long id ); boolean isInUse( long id ); @Override PageCursor openPageCursorForReading( long id ); @Override long nextId(); @Override IdRange nextIdBatch( int size ); @Override void freeId( long id ); @Override long getHighId(); void setHighId( long highId ); @Override File getStorageFile(); @Override final int getRecordSize(); @Override int getRecordDataSize(); @Override void flush(); @Override void close(); @Override long getHighestPossibleIdInUse(); @Override void setHighestPossibleIdInUse( long highId ); long getNumberOfIdsInUse(); @Override int getNumberOfReservedLowIds(); IdType getIdType(); @Override long getNextRecordReference( RECORD record ); @Override RECORD newRecord(); @Override RECORD getRecord( long id, RECORD record, RecordLoad mode ); @Override void getRecordByCursor( long id, RECORD record, RecordLoad mode, PageCursor cursor ); @Override void nextRecordByCursor( RECORD record, RecordLoad mode, PageCursor cursor ); @Override void updateRecord( RECORD record ); @Override void prepareForCommit( RECORD record ); @Override void prepareForCommit( RECORD record, IdSequence idSequence ); @Override void scanAllRecords( Visitor<RECORD,EXCEPTION> visitor ); @Override List<RECORD> getRecords( long firstId, RecordLoad mode ); @Override void ensureHeavy( RECORD record ); @Override String toString(); @Override int getStoreHeaderInt();  }### Answer:
@Test public void shouldIncludeFileNameInIdUsagePrintout() { TheStore store = newStore(); AssertableLogProvider logProvider = new AssertableLogProvider(); store.logIdUsage( logProvider.getLog( TheStore.class ).infoLogger() ); logProvider.assertExactly( AssertableLogProvider.inLog( TheStore.class ).info( containsString( format( "%s[%s]: used=0 high=0", TheStore.TYPE_DESCRIPTOR, storeFile.getName() ) ) ) ); }