Hello @MohitKumarK , Thanks for the answer. It's more clear now. I did that and then the tests passes. So if i understood well, in my test method i am only calling my serviceMethod. @TeststartMyJob(){ scheduleJob.startMyJob(); Then if i correctly set up the right "when..thenReturn" instructions, i ...