java – How to implements Unit Test for SQLQueryFactory query

It is my repository class implementation, Im using querydsl-sql for the DB persistence, It works very good when run the spring-boot project, but i need to struture unit test for this fragment of code, I try to use Mocks but i dont now how use this for SQLQueryFactory class or use other types of tools for unit test

public class ContactRepository implements IContactRepository  {
    SQLQueryFactory queryFactory;

    @Transactional(readOnly = true)
    public Tuple getContactInformationQuery(String memberCode) {
        return queryFactory