]> git.somenet.org - pub/jan/dst18.git/blob - ass1-doc/src/test/java/dst/ass1/doc/IDocumentTestData.java
Add template for assignment 1
[pub/jan/dst18.git] / ass1-doc / src / test / java / dst / ass1 / doc / IDocumentTestData.java
1 package dst.ass1.doc;
2
3 import com.mongodb.client.MongoDatabase;
4
5 // DO NOT MODIFY THIS CLASS.
6
7 /**
8  * The IDocumentTestData interface works like the ITestData as introduced in ass1-jpa only for the {@link MongoService}.
9  */
10 public interface IDocumentTestData {
11     /**
12      * Inserts the data into the given MongoDatabase instance.
13      *
14      * @param db the mongo database instance
15      * @throws Exception if the insertion failed for some reason
16      */
17     void insertTestData(MongoDatabase db) throws Exception;
18 }