示例#1
0
 public JwsActions(
     IGetJwsInformationAction getJwsInformationAction,
     ICreateJwsAction createJwsAction)
 {
     _getJwsInformationAction = getJwsInformationAction;
     _createJwsAction         = createJwsAction;
 }
 private void InitializeFakeObjects()
 {
     _jwsParserStub           = new Mock <IJwsParser>();
     _jsonWebKeyHelperStub    = new Mock <IJsonWebKeyHelper>();
     _jsonWebKeyEnricherStub  = new Mock <IJsonWebKeyEnricher>();
     _getJwsInformationAction = new GetJwsInformationAction(
         _jwsParserStub.Object,
         _jsonWebKeyHelperStub.Object,
         _jsonWebKeyEnricherStub.Object);
 }