//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void dumpNodeCount() public virtual void DumpNodeCount() { DumpCountsStore countsStore = CountStore; countsStore.VisitNodeCount(NODE_LABEL_ID, 70); assertThat(SuppressOutput.OutputVoice.ToString(), containsString("Node[(:testLabel [labelId=10])]:\t70")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void dumpIndexSample() public virtual void DumpIndexSample() { DumpCountsStore countsStore = CountStore; countsStore.VisitIndexSample(INDEX_ID, 1, 2); assertThat(SuppressOutput.OutputVoice.ToString(), containsString("IndexSample[(:indexLabel [labelId=3] {indexProperty [keyId=1]})]:\tunique=1, size=2")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void dumpIndexStatistic() public virtual void DumpIndexStatistic() { DumpCountsStore countsStore = CountStore; countsStore.VisitIndexStatistics(INDEX_ID, 3, 4); assertThat(SuppressOutput.OutputVoice.ToString(), containsString("IndexStatistics[(:indexLabel [labelId=3] {indexProperty [keyId=1]})" + "]:\tupdates=3, size=4")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void dumpUnknownKey() public virtual void DumpUnknownKey() { DumpCountsStore countsStore = CountStore; countsStore.VisitUnknownKey(new BigEndianByteArrayBuffer("unknownKey".GetBytes()), new BigEndianByteArrayBuffer("unknownValue".GetBytes())); assertThat(SuppressOutput.OutputVoice.ToString(), containsString("['u', 'n', 'k', 'n', 'o', 'w', 'n', 'K', 'e', 'y']:\t['u', 'n', 'k', 'n', 'o', " + "'w', 'n', 'V', 'a', 'l', 'u', 'e']")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void dumpRelationshipCount() public virtual void DumpRelationshipCount() { DumpCountsStore countsStore = CountStore; countsStore.VisitRelationshipCount(START_LABEL_ID, TYPE_ID, END_LABEL_ID, 5); assertThat(SuppressOutput.OutputVoice.ToString(), containsString("\tRelationship[(:startLabel [labelId=1])-[:testType [typeId=1]]->" + "(:endLabel [labelId=2])]:\t5")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void dumpMetadata() public virtual void DumpMetadata() { DumpCountsStore countsStore = CountStore; Headers headers = Headers.headersBuilder().put(CreateNamedHeader("header1"), "value1").put(CreateNamedHeader("header2"), "value2").headers(); File file = mock(typeof(File)); when(file.ToString()).thenReturn("Test File"); countsStore.VisitMetadata(file, headers, 100); assertThat(SuppressOutput.OutputVoice.ToString(), allOf(containsString("Counts Store:\tTest File"), containsString("header2:\tvalue2"), containsString("header1:\tvalue1"), containsString("entries:\t100"))); }