We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! I want to check interceptors calls in unit test.
Test fragment:
$interceptor = \Mockery::mock(LogExceptionsInterceptor::class); $this->instance(LogExceptionsInterceptor::class, $interceptor);
In configure of LogExceptionsPointCut I replace:
configure
LogExceptionsPointCut
$interceptor = new LogExceptionsInterceptor;
to
$interceptor = $app[LogExceptionsInterceptor::class];
But currently calls PointCut's configure before run tests and can't rebind to mock.
Any ideas on how to test it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I want to check interceptors calls in unit test.
Test fragment:
In
configure
ofLogExceptionsPointCut
I replace:to
But currently calls PointCut's
configure
before run tests and can't rebind to mock.Any ideas on how to test it?
The text was updated successfully, but these errors were encountered: