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
Thanks for raising this issue. Creating test doubles from frameworks will require a more sophisticated configuration for SourceKit which unfortunately is quite involved see this previous issue. I'm planning to eventually add support for third party support but it won't be ready any time soon since it is a lot of work.
The easiest work around for now would be to extract PHAsset to a protocol and decouple yourself from the Photos framework which would allow you to stub the protocol.
I would like to be able to create Stub / Spy of framework objects.
import Photos
class PHAssetMock: PHAsset {
}
The text was updated successfully, but these errors were encountered: