Created
August 6, 2021 09:07
-
-
Save frootloops/d0f3ce5f7af8b676b136d1ca9016b780 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class PriceAlertRepositoryMock: PriceAlertRepositoryProtocol { | |
var cachedPriceAlertsMockFunc = MockFunc<String?, [PriceAlert]>() | |
func cachedPriceAlerts(symbol: String?) -> [PriceAlert] { | |
return cachedPriceAlertsMockFunc.callAndReturn(symbol) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment