org.apache.camel.component.couchdb
Class CouchDbClientWrapper
java.lang.Object
org.apache.camel.component.couchdb.CouchDbClientWrapper
public class CouchDbClientWrapper
- extends Object
Necessary to allow mockito to mock this client.
Once LightCouch library adds an interface for the client, this class can be removed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CouchDbClientWrapper
public CouchDbClientWrapper(org.lightcouch.CouchDbClient client)
update
public org.lightcouch.Response update(Object doc)
save
public org.lightcouch.Response save(Object doc)
changes
public org.lightcouch.Changes changes()
context
public org.lightcouch.CouchDbContext context()
Apache Camel