Autowired JPA Repository NULL in service task (while testing)

Hello, thank you. Do you know a link to an example for doing so?