diff --git a/tests/SourcemapToolkit.CallstackDeminifier.UnitTests/StackTraceDeminifierUnitTests.cs b/tests/SourcemapToolkit.CallstackDeminifier.UnitTests/StackTraceDeminifierUnitTests.cs index df59b7a..f670642 100644 --- a/tests/SourcemapToolkit.CallstackDeminifier.UnitTests/StackTraceDeminifierUnitTests.cs +++ b/tests/SourcemapToolkit.CallstackDeminifier.UnitTests/StackTraceDeminifierUnitTests.cs @@ -13,7 +13,7 @@ namespace SourcemapToolkit.CallstackDeminifier.UnitTests // Arrange IStackTraceParser stackTraceParser = MockRepository.GenerateStrictMock(); string stackTraceString = "foobar"; - stackTraceParser.Stub(x => x.ParseStackTrace(stackTraceString)).Return(new List()); + stackTraceParser.Stub(x => x.ParseStackTrace(stackTraceString, out string message)).Return(new List()).OutRef("Error example"); IStackFrameDeminifier stackFrameDeminifier = MockRepository.GenerateStrictMock(); @@ -33,7 +33,7 @@ namespace SourcemapToolkit.CallstackDeminifier.UnitTests IStackTraceParser stackTraceParser = MockRepository.GenerateStrictMock(); List minifiedStackFrames = new List { new StackFrame() }; string stackTraceString = "foobar"; - stackTraceParser.Stub(x => x.ParseStackTrace(stackTraceString)).Return(minifiedStackFrames); + stackTraceParser.Stub(x => x.ParseStackTrace(stackTraceString, out string message)).Return(minifiedStackFrames).OutRef("Error example"); IStackFrameDeminifier stackFrameDeminifier = MockRepository.GenerateStrictMock(); stackFrameDeminifier.Stub(x => x.DeminifyStackFrame(minifiedStackFrames[0])).Return(null); @@ -56,7 +56,7 @@ namespace SourcemapToolkit.CallstackDeminifier.UnitTests IStackTraceParser stackTraceParser = MockRepository.GenerateStrictMock(); List minifiedStackFrames = new List { new StackFrame() }; string stackTraceString = "foobar"; - stackTraceParser.Stub(x => x.ParseStackTrace(stackTraceString)).Return(minifiedStackFrames); + stackTraceParser.Stub(x => x.ParseStackTrace(stackTraceString, out string message)).Return(minifiedStackFrames).OutRef("Error example"); IStackFrameDeminifier stackFrameDeminifier = MockRepository.GenerateStrictMock(); StackFrameDeminificationResult stackFrameDeminification = new StackFrameDeminificationResult();