public async Task ShouldExecuteSuccessfully() { _storiesAcl.Setup(s => s.GetStoriesDescription(_idStories)).ReturnsAsync(_storiesDescription); var result = await _chain.Execute(GetParam()); result.Should().NotBeNull(); _storiesAcl.Verify(v => v.GetStoriesDescription(_idStories), Times.Once); }
protected virtual void Update(UpdateState state) { _updateChain.Execute(state); }