//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void forceGetRecordSkipInUsecheck() throws java.io.IOException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ForceGetRecordSkipInUsecheck() { LabelTokenStore store = new UnusedLabelTokenStore(this); LabelTokenRecord record = store.getRecord(7, store.newRecord(), FORCE); assertFalse("Record should not be in use", record.InUse()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(expected = InvalidRecordException.class) public void getRecord() throws java.io.IOException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void getRecord() { when(_pageCursor.Byte).thenReturn(Record.NOT_IN_USE.byteValue()); LabelTokenStore store = new UnusedLabelTokenStore(this); store.getRecord(7, store.newRecord(), NORMAL); }