blob: 713ccf64bff0b2cea66252b684ee87b3f4369411 [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.
#import <Foundation/Foundation.h>
#import "ios/chrome/browser/store_kit/store_kit_launcher.h"
// Implementation of StoreKitLauncher that whenever openAppStore with productID
// is called, launchedProductID will be set to that productID. Users need to
// reset |launchedProductID| between uses.
@interface FakeStoreKitLauncher : NSObject<StoreKitLauncher>
// This string will have the product id that store kit with launched for, if
// openAppStore was called with string ID.
@property(nonatomic, copy) NSString* launchedProductID;
// This dictionary will have the product params that store kit with launched
// with, if openAppStoreWithParams was called with parameters dictionary.
@property(nonatomic, copy) NSDictionary* launchedProductParams;