- Issue created by @pbonnefoi
- Merge request !139Issue #3469454 by pbonnefoi: Get rid of magic method in getParentEntity to... → (Open) created by pbonnefoi
For a project we had to mock getParentEntity for a UnitTest and the use of magic method made it complex.
Trying to mock getParentEntity() in a unit test.
In order to avoid complexe mocking a magic method we changed the ->value
to ->getString()
in the getParentEntity() method which I think it's better code in the end.
Review MR.