//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(expected = RecoveryRequiredException.class) public void shouldThrowIfBrokenStore() throws java.io.IOException, RecoveryRequiredException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldThrowIfBrokenStore() { using (FileSystemAbstraction fileSystemAbstraction = CreateAndCrashWithDefaultConfig()) { PageCache pageCache = _pageCacheRule.getPageCache(fileSystemAbstraction); RecoveryRequiredChecker.AssertRecoveryIsNotRequired(fileSystemAbstraction, pageCache, Config.defaults(), _databaseLayout, new Monitors()); fail(); } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldNotThrowIfIntactStore() throws RecoveryRequiredException, java.io.IOException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldNotThrowIfIntactStore() { PageCache pageCache = _pageCacheRule.getPageCache(_fileSystem); RecoveryRequiredChecker.AssertRecoveryIsNotRequired(_fileSystem, pageCache, Config.defaults(), _databaseLayout, new Monitors()); }