Uploaded image for project: 'Unitils'
  1. Unitils
  2. UNI-222

unitils-mock: add 'any' argument matcher

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: mock
    • Labels:
      None

      Description

      Add an argument matcher that matches any not null value of a given type
      E.g.

      mockObject.returns(true).testMethodString(any(String.class));

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: