Open Oliboy50 opened 7 years ago
I came back on this. I know that @Hywan & @jubianchi have been working on something new for the mocking system so probably some change will come
Actually, this is not a bad idea to change the visibility of the properties. Thoughts @jubianchi?
@Oliboy50 do you want to try a PR?
@Hywan mocks in atoum have never been designer to work with properties: they are all about behaviors/services but not about state.
I'm not really in favor of this but if the community asks for the feature and it can be implemented without too much effort, why not.
To be fair, I won't have much time to spend on this issue, sorry.
Why
The documentation only talks about
method
visibility... but nothing aboutproperty
.Question
Is it possible to make class/mock properties visible? And howto (maybe update the documentation accordingly).