|
23 | 23 | import org.junit.Test; |
24 | 24 |
|
25 | 25 | import com.marklogic.client.admin.QueryOptionsManager; |
| 26 | +import com.marklogic.client.alerting.RuleManager; |
26 | 27 | import com.marklogic.client.document.BinaryDocumentManager; |
27 | 28 | import com.marklogic.client.document.GenericDocumentManager; |
28 | 29 | import com.marklogic.client.document.JSONDocumentManager; |
29 | 30 | import com.marklogic.client.document.TextDocumentManager; |
30 | 31 | import com.marklogic.client.document.XMLDocumentManager; |
| 32 | +import com.marklogic.client.eval.ServerEvaluationCall; |
| 33 | +import com.marklogic.client.pojo.PojoRepository; |
31 | 34 | import com.marklogic.client.query.QueryManager; |
32 | 35 | import com.marklogic.client.util.RequestLogger; |
33 | 36 |
|
@@ -83,6 +86,24 @@ public void testNewQueryManager() { |
83 | 86 | assertNotNull("Client could not create query manager", mgr); |
84 | 87 | } |
85 | 88 |
|
| 89 | + @Test |
| 90 | + public void testNewRuleManager() { |
| 91 | + RuleManager mgr = Common.client.newRuleManager(); |
| 92 | + assertNotNull("Client could not create rule manager", mgr); |
| 93 | + } |
| 94 | + |
| 95 | + @Test |
| 96 | + public void testNewPojoRepository() { |
| 97 | + PojoRepository<City, Integer> mgr = Common.client.newPojoRepository(City.class, Integer.class); |
| 98 | + assertNotNull("Client could not create pojo repository", mgr); |
| 99 | + } |
| 100 | + |
| 101 | + @Test |
| 102 | + public void testNewServerEvaluationCall() { |
| 103 | + ServerEvaluationCall mgr = Common.client.newServerEval(); |
| 104 | + assertNotNull("Client could not create ServerEvaluationCall", mgr); |
| 105 | + } |
| 106 | + |
86 | 107 | @Test |
87 | 108 | public void testNewQueryOptionsManager() { |
88 | 109 | QueryOptionsManager mgr = Common.client.newServerConfigManager().newQueryOptionsManager(); |
|
0 commit comments