public async Task When_async_method_succeeds_and_expected_not_to_throw_particular_exception_through_ValueTask_it_should_succeed() { // Arrange var asyncObject = new AsyncClass(); // Act Func <Task> action = () => asyncObject .Awaiting(_ => asyncObject.SucceedAsyncValueTask()) .Should().NotThrowAsync <InvalidOperationException>(); // Assert await action.Should().NotThrowAsync(); }