Spring / Spring Data Access
How do I unit test spring data repositories?
Unit testing can be achieved by mocking all JPA data API that we invoke.
However the unit testing for spring data respositories is not required since we don't write any API implementations. Integration testing is more ideal than unit testing.
More Related questions...