import Observation
import XCTest
@testable import OldFella
final class FeedCallCounter: @unchecked Sendable {
private let lock = NSLock()
private var calls = 0
func next() -> Int {
lock.lock()
defer { lock.unlock() }
calls += 1
return calls
}
var count: Int {
lock.lock()
defer { lock.unlock() }
return calls
}
}