Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
testSubject.getFeedbackReceiver(function (err, receiver) {
if (err) done(err);
else {
assert.instanceOf(receiver, AmqpReceiver);
done();
}
});
});
function SimulatedAmqp() {
this._config = {
sharedAccessSignature: 'ok'
};
this._receiver = new AmqpReceiver(new EventEmitter());
this.FeedbackReceiver = AmqpReceiver;
}