Skip to content

How to inject fake presenter? #1

@AndrzejPw

Description

@AndrzejPw

Hello!
I think the main purpose of such architecture is testability. I wanted to add robolectric view test that verifies that button click results in calling presenter's method add.

But I don't know how can I inject fake presenter in these tests. Could you help me with that? Or maybe it would be good to add robolectric test to your project?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions