Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep comparisons with self::ANYTHING #332

Open
elliotchance opened this issue Jul 5, 2016 · 0 comments
Open

Deep comparisons with self::ANYTHING #332

elliotchance opened this issue Jul 5, 2016 · 0 comments

Comments

@elliotchance
Copy link
Owner

The self::ANYTHING is used as a placeholder for mocks, but it should also be used for deep companions:

$this->assert($myObject)->equals([
    'id' => 123,
    'name' => self::ANYTHING
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant