blob: 87b91780f254aa8c145a44e3d7592151aecfd21d [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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_