### Question:
PrintingImportLogicMonitor implements ImportLogic.Monitor { @Override public void mayExceedRelationshipIdCapacity( long capacity, long estimatedCount ) { err.printf( "WARNING: estimated number of nodes %d may exceed capacity %d of selected record format%n", estimatedCount, capacity ); } PrintingImportLogicMonitor( PrintStream out, PrintStream err ); @Override void doubleRelationshipRecordUnitsEnabled(); @Override void mayExceedNodeIdCapacity( long capacity, long estimatedCount ); @Override void mayExceedRelationshipIdCapacity( long capacity, long estimatedCount ); @Override void insufficientHeapSize( long optimalMinimalHeapSize, long heapSize ); @Override void abundantHeapSize( long optimalMinimalHeapSize, long heapSize ); @Override void insufficientAvailableMemory( long estimatedCacheSize, long optimalMinimalHeapSize, long availableMemory );  }### Answer:
@Test void mayExceedRelationshipIdCapacity() { long capacity = 10_000_000; long estimatedCount = 12_000_000; monitor.mayExceedRelationshipIdCapacity( capacity, estimatedCount ); String text = errBuffer.toString(); assertTrue( text.contains( "WARNING" ) ); assertTrue( text.contains( "exceed" ) ); assertTrue( text.contains( String.valueOf( capacity ) ) ); assertTrue( text.contains( String.valueOf( estimatedCount ) ) ); }