@@ -453,7 +453,7 @@ This makes it convenient to switch between these files or open them side-by-side
453453 [ ios version] ( https://github.com/bitwarden/ios/blob/main/.test-simulator-ios-version ) ), otherwise
454454 tests may fail because of subtle differences between iOS versions.
455455
456- ### Mocks generation
456+ ### Mock generation
457457
458458We use [ Sourcery] ( https://github.com/krzysztofzablocki/Sourcery ) for automatic mock generation.
459459
@@ -472,18 +472,18 @@ protocol FooProtocol { // sourcery: AutoMockable
472472:::info Manual generation
473473
474474There are some cases where the automatically generated mock does not cover the mock scenario we want
475- or it cannot handle some closure types, specially in function's parameters. In such cases prefer
475+ or it cannot handle some closure types, especially in function's parameters. In such cases prefer to
476476create the mock manually and remove the protocol's comment as ` AutoMockable ` .
477477
478478:::
479479
480480#### Custom annotations
481481
482- Sourcery allows us to annotate different parts of our code to guide code generation. On top of this
483- custom annotations have been added in ` AutoMockable.stencil ` to handle special cases.
482+ Sourcery allows us to annotate different parts of our code to guide code generation. Custom
483+ annotations have been added in ` AutoMockable.stencil ` to handle special cases.
484484
485485- ** useSelectorName** : Method annotation used to indicate that the generated mocked properties need
486- to use the selector name instead of the short method name. This is specially useful when using
486+ to use the selector name instead of the short method name. This is especially useful when using
487487 function overloading where we need the mocked names to also have the parameters names to
488488 differentiate between the different mocked functions.
489489- ** mockReceivedInvocations** : Method annotation used to indicate that we want to generate the
0 commit comments