//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldToolFailureExceptionCauseExitCode() public virtual void ShouldToolFailureExceptionCauseExitCode() { _systemExitRule.expectExit(1); BackupTool.ExitFailure("tool failed"); }