What is the difference between createMock and getMockBuilder in phpUnit?
For the love of my life I can't figure out the difference between and createMock($type)
getMockBuilder($type)
I am going through the original documentation and there is just a one liner which I didn't understand.
... you can use the getMockBuilder($type) method to customize the test double generation using a fluent interface.
If you can provide me an example, I would be grateful. Thanks.