Additional helper would be great, which:
- Finds all private properties which are initialized in constructor
- Adds them to constructor with
prophesize accordingly their classes from doc block
Use case:
When a test needs several more mocks which are not a part of subject constructor calls, developer could just add private properties and generate all prophesies by this magic feature
Additional helper would be great, which:
prophesizeaccordingly their classes from doc blockUse case:
When a test needs several more mocks which are not a part of subject constructor calls, developer could just add private properties and generate all prophesies by this magic feature