@Source - gorskip/testing-framework GitHub Wiki

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Source {

    String rest();
    String db();
    String mapper();
}

rest()

Field name in returned response body. If not set name of class field is taken.

db()

Column name in database respone. If not set name of class field is taken.

mapper()

Mapper name which is used to mapping database response to same class as response body. Check @Mapper