Uploaded image for project: 'Unitils'
  1. UNI-130

When you try to make a void method return a value when mocking, the stacktrace is not correct

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0
    • Component/s: mock
    • Labels:
      None
    • Sprint:

      Description

      When you try to make a void method return a value when mocking, the stacktrace points to the code in unitils where this condition is checked, instead of the line of code where the error occurs.

        Attachments

          Activity

            People

            • Assignee:
              tim.ducheyne Tim Ducheyne
              Reporter:
              filip.neven Filip Neven
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: