Skip to content

Conversation

@kenjis
Copy link
Owner

@kenjis kenjis commented Sep 30, 2021

If you write code like this:

$customerInfoRepository = $this->getDouble(CustomerInfoRepository::class, []); $this->verifyInvokedOnce($customerInfoRepository, 'save');

You see the error:

PHPUnit\Framework\MockObject\MethodCannotBeConfiguredException: Trying to configure method "xxx" which cannot be configured because it does not exist, has not been specified, is final, or is static

…method name PHPUnit\Framework\MockObject\MethodCannotBeConfiguredException: Trying to configure method "xxx" which cannot be configured because it does not exist, has not been specified, is final, or is static
NPath complexity was 216.
@kenjis kenjis merged commit d79bfff into 1.x Sep 30, 2021
@kenjis kenjis deleted the fix-getDouble branch September 30, 2021 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant