There is one remaining issue though: The $reflFields property in the ClassMetadata class is only initialized when calling wakeupReflection().
This means, that before calling wakeupReflection() all access to (f.e.) getReflectionProperty() will fail with a warning. This also means I have to call this method to make the existing assertions in the tests work.
I introduced a failing test for this, to highlight the issue. Not sure what the correct way would be to solve this.
Fixes #108
There is one remaining issue though: The $reflFields property in the ClassMetadata class is only initialized when calling wakeupReflection().
This means, that before calling wakeupReflection() all access to (f.e.) getReflectionProperty() will fail with a warning. This also means I have to call this method to make the existing assertions in the tests work.
I introduced a failing test for this, to highlight the issue. Not sure what the correct way would be to solve this.