What problem does it solve? Setting up a reliable test infrastructure for a Spring Boot application is repetitive and error-prone: wiring Testcontainers with a real PostgreSQL database, mocking JWT authentication, loading test data, and structuring integration versus unit tests all require boilerplate that teams often get wrong. ## Core Features & Use Cases - Integration Test Infrastructure: Provides ready-to-adapt templates for AbstractContextInitializer, TestUtils, and TestAuthSupport that spin up PostgreSQL via Testcontainers, run Flyway migrations plus test data SQL, and call endpoints through the generated API client with Bearer tokens. - Unit Test Patterns: Supplies Mockito-based service test templates (@ExtendWith(MockitoExtension.class), @Mock/@InjectMocks) and pure JUnit validator tests using AssertJ with Given/When/Then structure. - Test Data Management: Defines fixed-ID SQL test data scripts and an optional TestDataSqlLoader to reset database state between tests. - Use Case: When adding a new REST endpoint to a Spring Boot project, use this Skill to generate the matching *IT.java integration test with mocked JWT authentication and a real PostgreSQL container, plus the corresponding service unit test. ## Quick Start Set up the Spring Boot testing infrastructure with Testcontainers and write an integration test for the Company controller.