updated mockery due to 5.5.13 with serialization bug
[entity] refactored condition parser
[tests] fix for attach method parameters
[mapper] implemented missing method in array mapper