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

Invalid syntax. assertMock.list() must be followed by a method invocation on the returned proxy. E.g. assertMock.list().myMethod()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: mock
    • Labels:
      None
    • Environment:
      jdk1.6
    • Sprint:

      Description

      list() is my observed method, but unitils dont see that if after this I check something else:

      sampleService.assertInvoked().list(100);
      sampleService.assertInvoked().isValid("XXXX".getBytes());

      sample project attached

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: