Then return nil as parameter
vlchapaev opened this issue · comments
Vladislav Chapaev commented
Stubbed function should be allow tor return 'nil'. Suggest to make result param optional.
Lines 45 to 56 in a5d3150
Mirage is a mocking library for swift projects. The recommended way is to use https://github.com/valnoc/FataMorgana for Mirage mocks generation to avoid writing them manually.
vlchapaev opened this issue · comments
Stubbed function should be allow tor return 'nil'. Suggest to make result param optional.
Lines 45 to 56 in a5d3150