|
[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?
SourceMock/Tests/ArgumentTests.cs
Lines 44 to 51 in c4016d7
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?