Skip to content

argOfTypeThat() function that allows us to keep HamcrestXXX:: out of our code isn't working #40

@tpimienta

Description

@tpimienta

The example shown in the README:

Phockito::when($stub)->Foo(argOfTypeThat('B', is(equalTo($b))))->return('Zap');

Does not work. Simply missing return statement. Fixed. Added test case.
Pull request #39. I'm a github noob ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions