Expected Behavior
According to the javadoc documentation and e.g. to test in micronaut core, implementing io.micronaut.test.support.TestPropertyProvider ought call getProperties() on the instance.
Actual Behaviour
getProperties() is not called before test method execution
Steps To Reproduce
- Clone https://github.com/sdedic/micronaut-dbbugs2/tree/value_annotation_inconsistent, branch
value_annotation_inconsistent
- Look up
PropertyExampleTest
- run
testGetPropertiesCalled
Environment Information
- Ubuntu Linux 22.04
- JDK 21
Example Application
https://github.com/sdedic/micronaut-dbbugs2/tree/value_annotation_inconsistent
Version
4.7.6