-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
featureNew feature or requestNew feature or request
Description
This currently doesn't work:
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: ())
}
}
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request