feat: integration tests for java generator
Description
The CLI has adopted an integration testing pattern to validate that generated feature flag clients compile and function correctly within their respective language ecosystems. The Java generator does not yet have integration test coverage.
We should implement integration tests for the Java generator using the standardized approach outlined in the test suite documentation.
📄 Relevant Documentation:
Integration Testing Pattern
Tasks
Acceptance Criteria
- ✅ Java generator is covered by at least one integration test
- ✅ Generated Java code compiles and passes basic execution
- ✅ Integration test runs as part of the CI suite
- ✅ Test follows the documented integration testing structure
Additional Notes
Adding Java integration tests ensures that changes to the generator do not silently introduce regressions and increases confidence in the CLI's language support matrix.