public void Function1HelloTest() { _durableActivityContextMock.Setup(x => x.GetInput <string>()).Returns("John"); var result = Function1.SayHello(_durableActivityContextMock.Object, _loggerMock.Object); Assert.Equal("Hello John!", result); }
public void Function1Hello2Test() { var result = Function1.SayHello("John", _loggerMock.Object); Assert.Equal("Hello John!", result); }