Skip to content

no final methods in framework components please #11

@jangalinski

Description

@jangalinski

The key benefit of MVP is that I can test the View and Presenter classes independently. This requires mocking of components and their (lifecycle)-methods.

Unfortunately, you made a lot of methods (openView for example) final. Though I understand that you want to prevent unexperienced users from overwriting framework classes, this blocks all my mocking attempts on view classes ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions