Spring Boot, Mockito, Mvc Frameworks, Unit Testing, Integration Testing.
need for a live MongoDB instance, as @DataMongoTest creates a temporary, in-memory database for the duration of the test. Additionally, this annotation handles the configuration required to connect to this temporary database and provides essential components such as a MongoTemplate and instances of