void Awake() { _processor = new ProfileUpdateProcessor(InterfaceFinder.Find <IProfileUpdateService>()); _errorHandler = InterfaceFinder.Find <IErrorHandler>(); _loader = InterfaceFinder.Find <ILoader>(); _canvasGroup = resetPassword.GetComponent <CanvasGroup>(); _alpha = _canvasGroup.alpha; }
public ProfileUpdateProcessorTests() { _profileUpdateService = new Mock <IProfileUpdateService>(); _processor = new ProfileUpdateProcessor(_profileUpdateService.Object); }