Problem/Motivation

Changing from mocks to stubs for test scaffold where necessary left some cases where stubs don't have the same features as mocks.

Proposed resolution

Replace $object->method()->with()->willReturn() with $object->method()->willReturnMap()

Remaining tasks

User interface changes

API changes

Data model changes

Comments

gapple created an issue. See original summary.

  • gapple committed 2f7da6e5 on 2.x
    fix: #3587506 Change stub method returns from ->with() to ->...
gapple’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.