Skip to content

Set Times expectation on Setup #373

@skarllot

Description

@skarllot

Would be nice if I can set times expectation on Setup instead of separated Verify. e.g.:

mockInstance
    .Setup(a => a.Start(It.IsInRange(0, 1000)))
    .Count(Times.AtLeast(5))
    .Returns(Task.FromResult(true));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions