Mocking an Throwable interface produces an error
jubianchi opened this issue · comments
Julien BIANCHI commented
Given we have:
<?php
interface MyThrowable extends Throwable {
//...
}
If we try to mock this interface, it results in an error:
Class MyThrowable cannot implement interface Throwable, extend Exception or Error instead