Skip to content

Error: Call to undefined method Mock_SampleInterface_8dc42d9c::__phpunit_getInvocationMocker() #3883

@dominikzogg

Description

@dominikzogg
Q A
PHPUnit version 8.4.0
PHP version 7.3.9
Installation Method Composer

Summary

1) Chubbyphp\Tests\Mock\MockByCallsTraitTest::testInterfaceWithToManyCalls
Error: Call to undefined method Mock_SampleInterface_8dc42d9c::__phpunit_getInvocationMocker()

/vagrant/chubbyphp-mock/tests/MockByCallsTraitTest.php:152

2) Chubbyphp\Tests\Mock\MockByCallsTraitTest::testInterfaceWithToLessCalls
Error: Call to undefined method Mock_SampleInterface_8dc42d9c::__phpunit_getInvocationMocker()

/vagrant/chubbyphp-mock/tests/MockByCallsTraitTest.php:187

chubbyphp/chubbyphp-mock#4

Related to: #3849

Other vendors with issues:

php-mock/php-mock-phpunit#39

Previous Behavior

tests are up and running

Current Behavior

tests are broken as mentioned

How to reproduce

git clone [email protected]:chubbyphp/chubbyphp-mock.git && cd chubbyphp-mock && composer install && vendor/bin/phpunit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions