diff --git a/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m b/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m index c007770d0b6..9ef5db9267a 100644 --- a/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m +++ b/FirebasePerformance/Tests/Unit/FPRObjectInstrumentorTest.m @@ -48,9 +48,9 @@ - (void)testCopySelectorFromClassThatModifies { XCTAssertTrue([[object class] isSubclassOfClass:[NSObject class]]); instrumentor = nil; XCTAssertNil(weakInstrumentor); + XCTAssertNotNil([(GULSwizzledObject *)object gul_objectSwizzler]); XCTAssertNoThrow([(GULSwizzledObject *)object gul_class]); XCTAssertEqual([object class], [(GULSwizzledObject *)object gul_class]); - XCTAssertNotNil([(GULSwizzledObject *)object gul_objectSwizzler]); } /** Tests copying a selector that already exists on the object doesn't work. */