IOS VIPER: How protocol helps in Unit Testing?
<p>I am little confused with the benefit of protocols in VIPER architecture.
I understand that DI (Dependency Injection) achieved via protocols and helps avoid direct dependency between objects - I Agree.</p>

<p>But i am looking at a real benefit from usage perspective, an example may be - especially how protocols help benefit in unit testing (testing the Interactor portion).</p>

<p>Can't we achieve the same via method Callback's using blocks?
Hope someone can help me understand from usage perspective with some example</p>

<p>Cheers</p>