com.jupiter.tools.spring.test.mongo.internal.DataSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-test-mongo Show documentation
Show all versions of spring-test-mongo Show documentation
Tools suit to write integration tests for MongoDb in Spring Framework.
package com.jupiter.tools.spring.test.mongo.internal;
import java.util.List;
import java.util.Map;
/**
* Read a map from some kind of source
*
* @author Korovin Anatoliy
*/
public interface DataSet {
/**
* Read the data set from some kind of source
*
* @return map with the data set,
* map looks like this:
* "org.package....FirstDocument" : [{"id":"1", "field":"aaa"}, {"id":"2", "field":"bbb"}],
* "org.package....SecondDocument" : [{"id":"1", "value":"123"}, {"id":"2", "value":"456"}]
*/
Map>> read();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy