You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class MockStore: Mock, Store {
lazy var hasContentRef = MockReference(hasContent) <-- hasContent is not a function
lazy var deleteContentRef = MockReference(deleteContent)
// --> Which requires us to do this:
var hasContentInvokeCount = 0
var hasContentReturnValue = false
public var hasContent: Bool {
hasContentInvokeCount += 1
return hasContentReturnValue
}
public func deleteContent() {
invoke(deleteContentRef, args: ())
}
}
The text was updated successfully, but these errors were encountered:
This currently doesn't work:
The text was updated successfully, but these errors were encountered: