authelia/test/unitary/mocks/AuthenticationRegulator.ts
2017-05-21 12:14:59 +02:00

16 lines
273 B
TypeScript

import sinon = require("sinon");
export interface AuthenticationRegulatorMock {
mark: sinon.SinonStub;
regulate: sinon.SinonStub;
}
export function AuthenticationRegulatorMock() {
return {
mark: sinon.stub(),
regulate: sinon.stub()
};
}