//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void inUseRecordEquality() public virtual void InUseRecordEquality() { RelationshipGroupRecord record1 = new RelationshipGroupRecord(1); record1.Initialize(true, 1, 2, 3, 4, 5, 6); record1.SecondaryUnitId = 42; RelationshipGroupRecord record2 = record1.Clone(); RelationshipGroupCheckType check = new RelationshipGroupCheckType(); assertTrue(check.Equal(record1, record2)); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void notInUseRecordEquality() public virtual void NotInUseRecordEquality() { RelationshipGroupRecord record1 = new RelationshipGroupRecord(1); record1.Initialize(false, 1, 2, 3, 4, 5, 6); record1.SecondaryUnitId = 42; RelationshipGroupRecord record2 = new RelationshipGroupRecord(1); record1.Initialize(false, 11, 22, 33, 44, 55, 66); record2.SecondaryUnitId = 24; RelationshipGroupCheckType check = new RelationshipGroupCheckType(); assertTrue(check.Equal(record1, record2)); }