Search in sources :

Example 11 with AllDocsResult

use of com.ibm.cloud.cloudant.v1.model.AllDocsResult in project cloudant-java-sdk by IBM.

the class AllDocsResultTest method testAllDocsResult.

@Test
public void testAllDocsResult() throws Throwable {
    AllDocsResult allDocsResultModel = new AllDocsResult();
    assertNull(allDocsResultModel.getTotalRows());
    assertNull(allDocsResultModel.getRows());
    assertNull(allDocsResultModel.getUpdateSeq());
}
Also used : AllDocsResult(com.ibm.cloud.cloudant.v1.model.AllDocsResult) Test(org.testng.annotations.Test)

Aggregations

AllDocsResult (com.ibm.cloud.cloudant.v1.model.AllDocsResult)11 PostAllDocsOptions (com.ibm.cloud.cloudant.v1.model.PostAllDocsOptions)4 HashMap (java.util.HashMap)4 Test (org.testng.annotations.Test)4 JsonObject (com.google.gson.JsonObject)3 DocsResultRow (com.ibm.cloud.cloudant.v1.model.DocsResultRow)3 Document (com.ibm.cloud.cloudant.v1.model.Document)3 RequestBuilder (com.ibm.cloud.sdk.core.http.RequestBuilder)3 NotFoundException (com.ibm.cloud.sdk.core.service.exception.NotFoundException)3 ArrayList (java.util.ArrayList)3 MockResponse (okhttp3.mockwebserver.MockResponse)3 RecordedRequest (okhttp3.mockwebserver.RecordedRequest)3 PrepareForTest (org.powermock.core.classloader.annotations.PrepareForTest)3 GsonBuilder (com.google.gson.GsonBuilder)2 Gson (com.google.gson.Gson)1 DeleteDocumentOptions (com.ibm.cloud.cloudant.v1.model.DeleteDocumentOptions)1 DocumentResult (com.ibm.cloud.cloudant.v1.model.DocumentResult)1 PostDesignDocsOptions (com.ibm.cloud.cloudant.v1.model.PostDesignDocsOptions)1 PostPartitionAllDocsOptions (com.ibm.cloud.cloudant.v1.model.PostPartitionAllDocsOptions)1 CloudEvent (io.cloudevents.CloudEvent)1