//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldLoadAllConnectedRelationshipRecordsAndTheirFullChainsOfRelationshipRecords() public virtual void ShouldLoadAllConnectedRelationshipRecordsAndTheirFullChainsOfRelationshipRecords() { // given RecordStore <RelationshipRecord> relationshipStore = _store.RelationshipStore; // when int relationshipIdInMiddleOfChain = 10; RecordSet <RelationshipRecord> records = (new RelationshipChainExplorer(relationshipStore)).ExploreRelationshipRecordChainsToDepthTwo(relationshipStore.GetRecord(relationshipIdInMiddleOfChain, relationshipStore.NewRecord(), NORMAL)); // then assertEquals(DEGREE_TWO_NODES * 2, records.Size()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldCopeWithAChainThatReferencesNotInUseZeroValueRecords() public virtual void ShouldCopeWithAChainThatReferencesNotInUseZeroValueRecords() { // given RecordStore <RelationshipRecord> relationshipStore = _store.RelationshipStore; BreakTheChain(relationshipStore); // when int relationshipIdInMiddleOfChain = 10; RecordSet <RelationshipRecord> records = (new RelationshipChainExplorer(relationshipStore)).ExploreRelationshipRecordChainsToDepthTwo(relationshipStore.GetRecord(relationshipIdInMiddleOfChain, relationshipStore.NewRecord(), NORMAL)); // then int recordsInaccessibleBecauseOfBrokenChain = 3; assertEquals(DEGREE_TWO_NODES * 2 - recordsInaccessibleBecauseOfBrokenChain, records.Size()); }