public ResourceSetActions( IAddResourceSetAction addResourceSetAction, IGetResourceSetAction getResourceSetAction, IUpdateResourceSetAction updateResourceSetAction, IDeleteResourceSetAction deleteResourceSetAction, IGetAllResourceSetAction getAllResourceSetAction, IGetPoliciesAction getPoliciesAction) { _addResourceSetAction = addResourceSetAction; _getResourceSetAction = getResourceSetAction; _updateResourceSetAction = updateResourceSetAction; _deleteResourceSetAction = deleteResourceSetAction; _getAllResourceSetAction = getAllResourceSetAction; _getPoliciesAction = getPoliciesAction; }
private void InitializeFakeObjects() { _policyRepositoryStub = new Mock <IPolicyRepository>(); _getPoliciesAction = new GetPoliciesAction(_policyRepositoryStub.Object); }