Spring Boot, Mockito, Mvc Frameworks, Unit Testing, Integration Testing.
org.springframework.boot.test.autoconfigure.data.mongo.AutoConfigureDataMongo; import org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest; import java.util.List; import java.util.Optional; @DataMongoTest @AutoConfigureDataMongo public class BookRepositoryTests { @Autowired private