Remove use of `Assert.DoesNotThrow()`

- no longer in xunit :smiley:

/cc @rynowak