concise
concise copied to clipboard
Use magic getters for building mocks
Any property should try and call a method with the same name:
$this->mock('CustomerEntity')->disableConstuctor()->done();
Will work the same as:
$this->mock('CustomerEntity')->disableConstuctor->done;