Issue when use JpaRepository

Diffblue cover failed when change Repository to JpaRepository. If use Repository then diffblue generate 2 test and use JpaRepository then gen 4 test and 1 UT error R013. How to fix this bug.

error:

Hi @hailn6

Apologies for the late reply, it looks like a partial test has been created as all the assertions attempted caused a NullPointer exception. Therefore here it is asking you to complete the test to ensure it doesn’t cause an error when running tests.
You can either complete the test, and there is guidance on how to deal with R013 outputs here

Alternatively, in IntelliJ you can opt to exclude partial tests, where you will have less total tests, but they will all be complete. Documentation on how to turn off this option can be found here

Let me know if you have any further questions

Kind regards,
Jane @ Diffblue