diff --git a/lib/test/test-adaptor.js b/lib/test/test-adaptor.js index a70bf00..cf53c8c 100644 --- a/lib/test/test-adaptor.js +++ b/lib/test/test-adaptor.js @@ -9,5 +9,14 @@ var TestAdaptor = module.exports = function TestAdaptor() { Utils.subclass(TestAdaptor, Adaptor); + +TestAdaptor.prototype.connect = function(callback) { + callback(); +}; + +TestAdaptor.prototype.disconnect = function(callback) { + callback(); +}; + TestAdaptor.adaptors = ["test"]; TestAdaptor.adaptor = function(opts) { return new TestAdaptor(opts); };