I want to use Mockery and change this:
$mockFoo = $this->getMockBuilder('Foo') ->disableOriginalConstructor() ->getMock();
:
$mockFoo = m::mock('Foo');
But I do not know how to disable the original constructor in Mockery. Please help me if you can. :-)
source share