//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldReadUnsignedRelationshipTypeId() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldReadUnsignedRelationshipTypeId() { // GIVEN using (PageCursor cursor = new StubPageCursor(1, _recordSize * 10)) { int offset = 10; cursor.Next(); RelationshipGroupRecord group = (new RelationshipGroupRecord(2)).initialize(true, short.MaxValue + offset, 1, 2, 3, 4, 5); cursor.Offset = offset; _format.write(group, cursor, _recordSize); // WHEN RelationshipGroupRecord read = new RelationshipGroupRecord(group.Id); cursor.Offset = offset; _format.read(read, cursor, NORMAL, _recordSize); // THEN assertEquals(group, read); } }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void read(RECORD record, org.neo4j.io.pagecache.PageCursor cursor, org.neo4j.kernel.impl.store.record.RecordLoad mode, int recordSize) throws java.io.IOException public override void Read(RECORD record, PageCursor cursor, RecordLoad mode, int recordSize) { Actual.read(record, cursor, mode, recordSize); }