Assert DoesNotThrow in XUnit

// Act
var ex = await Record.ExceptionAsync(() => _thing.DoSomethingAsync());

// Assert
Assert.Null(ex);