Catch data mapping errors with focused unit tests.
Guides the creation of isolated unit tests that check mapper and converter transformations.
When to use it
Use when writing MapStruct mapping tests, testing entity-to-DTO converters, or validating nested objects and collection transformations.
It changes how the agent writes mapper and converter tests, emphasizing transformation correctness, null handling, collections, and round-trip consistency.
What you provide
MapStruct mapper tests require its annotation processor to be configured and mapper interfaces to be compiled so generated implementations exist.
No additional actions listed.