//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: public org.junit.runners.model.Statement apply(final org.junit.runners.model.Statement super, final org.junit.runner.Description description) public override Statement Apply(Statement @base, Description description) { Statement testMethod = new StatementAnonymousInnerClass(this, @base, description); Statement testMethodWithBeforeAndAfter = base.Apply(testMethod, description); return(_testDirectory.apply(testMethodWithBeforeAndAfter, description)); }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: public org.junit.runners.model.Statement apply(final org.junit.runners.model.Statement super, final org.junit.runner.Description description) public override Statement Apply(Statement @base, Description description) { Statement timeoutStatement; if (_timeoutBuilder != null) { timeoutStatement = _timeoutBuilder.build().apply(@base, description); } else { timeoutStatement = @base; } Statement testMethod = new StatementAnonymousInnerClass(this, description, timeoutStatement); Statement testMethodWithBeforeAndAfter = base.Apply(testMethod, description); return(_testDirectory.apply(testMethodWithBeforeAndAfter, description)); }