Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical MongoDB test. Can be used when a test focuses
only on
MongoDB components.
Using this annotation will disable full auto-configuration and instead apply only
configuration relevant to MongoDB tests.
By default, tests annotated with @DataMongoTest
will use an embedded in-memory
MongoDB process (if available).