Skip to content

Incorrect setup #114

@my-nihongo

Description

@my-nihongo
MyMock
  .SetupMyMethod()
  .Return(null)
  .Return(123);

MyMock
  .SetupMyMethod()
  .Return(123)
  .Return(234);

When chained - it should add calls.
When a separate block - it should overwrite.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions