Skip to content

Feature request: Ability to create strict mocks #104

@DamienSirkis

Description

@DamienSirkis

Currently all mocks created by OCMockito are 'nice' mocks and always return something even on methods that have not been stubbed.

Would be nice to have a strictMock() alternative that would instead fail/assert early if anything calls something not stubbed out.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions