### Question:
DumpCountsStore implements CountsVisitor, MetadataVisitor, UnknownKey.Visitor { @Override public void visitNodeCount( int labelId, long count ) { out.printf( "\tNode[(%s)]:\t%d%n", labels( new int[]{labelId} ), count ); } DumpCountsStore( PrintStream out );   DumpCountsStore( PrintStream out, NeoStores neoStores, SchemaStorage schemaStorage ); private  DumpCountsStore( PrintStream out, Map<Long,IndexDescriptor> indexes, List<NamedToken> labels,
                             List<NamedToken> relationshipTypes, List<NamedToken> propertyKeys ); static void main( String... args ); static void dumpCountsStore( FileSystemAbstraction fs, File path, PrintStream out ); @Override void visitMetadata( File file, Headers headers, int entryCount ); @Override void visitNodeCount( int labelId, long count ); @Override void visitRelationshipCount( int startLabelId, int typeId, int endLabelId, long count ); @Override void visitIndexStatistics( long indexId, long updates, long size ); @Override void visitIndexSample( long indexId, long unique, long size ); @Override boolean visitUnknownKey( ReadableBuffer key, ReadableBuffer value );  }### Answer:
@Test public void dumpNodeCount() { DumpCountsStore countsStore = getCountStore(); countsStore.visitNodeCount( NODE_LABEL_ID, 70 ); assertThat( suppressOutput.getOutputVoice().toString(), containsString( "Node[(:testLabel [labelId=10])]:\t70" ) ); }