chromium/ios/chrome/common/ui/reauthentication/reauthentication_module_for_testing.h

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_COMMON_UI_REAUTHENTICATION_REAUTHENTICATION_MODULE_FOR_TESTING_H_
#define IOS_CHROME_COMMON_UI_REAUTHENTICATION_REAUTHENTICATION_MODULE_FOR_TESTING_H_

#import "ios/chrome/common/ui/reauthentication/reauthentication_module.h"

#import <LocalAuthentication/LocalAuthentication.h>

@interface ReauthenticationModule (ForTesting)

// Allows the replacement of the `LAContext` objects used by
// `ReauthenticationModule` with a mock to facilitate testing.
- (void)setCreateLAContext:(LAContext* (^)(void))createLAContext;

@end

#endif  // IOS_CHROME_COMMON_UI_REAUTHENTICATION_REAUTHENTICATION_MODULE_FOR_TESTING_H_