diff --git a/Tests/FactoryTests/FactoryInjectionTests.swift b/Tests/FactoryTests/FactoryInjectionTests.swift index be723f33..951ab721 100644 --- a/Tests/FactoryTests/FactoryInjectionTests.swift +++ b/Tests/FactoryTests/FactoryInjectionTests.swift @@ -255,6 +255,8 @@ final class FactoryInjectionTests: XCTestCase { // should have new instance let newId = object.service.id XCTAssertTrue(oldId != newId) + let newId2 = object.$service.resolve().id + XCTAssertTrue(newId2 != newId) } #if canImport(SwiftUI)