How to access Projection object getter : getting output property invalid

Hello, I am not able to write Junit for Projection.

The projection I am using has several getters, but those have data, however, when I try to access with getter or print with System.out.println() I get error, the property does not exist

With this little information we cannot help you. Please provide more context on what you’re trying to do, code examples that show your entity mappings / logic, and a full stack trace of the error you’re getting.

To test getters in JUnit, ensure the property exists and is accessible. Use assertEquals() to compare expected and actual values. If the error persists, consider using reflection or checking for typos in property names.