We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a protocol with an optional property like:
protocol MyProtocol { var myProperty: String? { get } }
The following non-optional stubbed value is generated:
var invokedMyPropertyGetter = false var invokedMyPropertyGetterCount = 0 var stubbedMyProperty: String! var myProperty: String? { invokedMyPropertyGetter = true invokedMyPropertyGetterCount += 1 return stubbedMyProperty }
Would it be possible for optional properties to have optional stubbed values?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a protocol with an optional property like:
The following non-optional stubbed value is generated:
Would it be possible for optional properties to have optional stubbed values?
The text was updated successfully, but these errors were encountered: