//
//  NSURLCache+FNLicensing.h
//  FNLicensing
//
//  Created by Alexander Rinass on 24/02/2017.
//  Copyright © 2017 Fournova GmbH. All rights reserved.
//

#import "FNProductAPIClient.h"

#ifdef DEBUG

@class FNProductConfig;
@class FNProductLicense;
@interface FNProductAPIClient (Testing)

+ (void)_enableRequestCaching;
+ (void)_disableRequestCaching;

+ (void)_cacheActivateTrialRequestWithProductConfig:(FNProductConfig *)productConfig;

+ (void)_cacheActivateLicenseRequestWithProductConfig:(FNProductConfig *)productConfig licenseName:(NSString *)licenseName licenseCode:(NSString *)licenseCode;
+ (void)_cacheDeactivateLicenseRequestWithProductConfig:(FNProductConfig *)productConfig license:(FNProductLicense *)license;

@end

#endif
