Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-78668

As a developer, I would like to be able to chain methods on EasyMock.expect

    Details

      Description

      I would like to be able to chain method calls on the the following two easy mock patterns.

      EasyMock.expectLastCall(
      ).andVoid(
      ).once();
      
      EasyMock.expect(
          client.install(jarPath.toUri())
      ).andAnswer(
          () -> atomicLong.incrementAndGet()
      ).once();
      

      here are the two starters to the chaining

      EasyMock.expect
      EasyMock.expectLastCall
      

        Attachments

          Activity

            People

            • Assignee:
              support-qa Support QA
              Reporter:
              gregory.amerson Gregory Amerson
              Recent user:
              David Truong
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                7.0.X
                Master