Skip to content

Get Invocation Count / Verify with Or #219

Open
@ConorMurphy21

Description

@ConorMurphy21

I'm trying to verify that one of the overloaded method signatures gets called. I don't care which one gets called. Is there a way I could do this with fakeit? ie Verify(Method(foo, bar) || Method(Foo, bar)).Twice(). Or if that doesn't exist is there a way to get the invocation count of a method so I can just add them together?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions