-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
SourceMock/Tests/ArgumentTests.cs
Lines 44 to 51 in c4016d7
| [Fact] | |
| public void SingleArgument_Optional() { | |
| var mock = Mock.Of<IMockable>().Get(); | |
| mock.Setup.ParseToInt32().Returns(1); | |
| Assert.Equal(1, mock.ParseToInt32("x")); | |
| } |
Is the design of the library so that you don't have to specify the shape of the arguments if you don't care?
What happens in the test when the interface has a no param ParseToInt32?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels