8000 Add Times Expectation to the mock setup · Issue #1210 · devlooped/moq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Add Times Expectation to the mock setup #1210
Closed
@surovij45

Description

@surovij45
mock
.Setup(foo => foo.Add("my string")
.Returns(true)
.Times(Times.Once)

Add Times expectation to the mock setup, and we can verify setup using single line mock.VerifyAll() or mockRepo.VerifyAll()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0