2017-05-20 20:55:37 +00:00
|
|
|
|
|
|
|
import sinon = require("sinon");
|
|
|
|
|
2017-05-21 10:14:59 +00:00
|
|
|
|
|
|
|
export interface AuthenticationRegulatorMock {
|
|
|
|
mark: sinon.SinonStub;
|
|
|
|
regulate: sinon.SinonStub;
|
|
|
|
}
|
|
|
|
|
|
|
|
export function AuthenticationRegulatorMock() {
|
2017-05-20 20:55:37 +00:00
|
|
|
return {
|
|
|
|
mark: sinon.stub(),
|
|
|
|
regulate: sinon.stub()
|
|
|
|
};
|
2017-05-21 10:14:59 +00:00
|
|
|
}
|