In this post we'll see how to define custom spring-data repository methods and their implementation for a book repository in MongoDB and how to write unit tests to check this custom implementation.Spring Data MongoDB: Custom repository implementation2018-03-09 in Java tagged Java / MongoDB / Spring Framework / Spring Boot / Spring Data / Testing by Marc Nuri