/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

#import <Foundation/Foundation.h>

#import <IGListDiffKit/IGListDiffable.h>

#import "IGLayoutTestItem.h"
#import "IGTestObject.h"

#define genInvalidateLayoutObject(key, size) [[IGTestObject alloc] initWithKey:key value:[[IGLayoutTestItem alloc] initWithSize:size]]

@interface IGTestInvalidateLayoutObject : NSObject<IGListDiffable>

- (instancetype)initWithKey:(id)key objects:(NSArray<IGTestObject *> *)objects;

@property (nonatomic, strong, readonly) id key;
@property (nonatomic, strong, readonly) NSArray<IGTestObject *> *objects;

@end
