Assert.DoesNotThrow(() => { /* custom code block here*/});
OR just method
Assert.DoesNotThrow(() => CallMymethod());
For more details see NUnit Exception Asserts
Assert.DoesNotThrow(() => { /* custom code block here*/});
OR just method
Assert.DoesNotThrow(() => CallMymethod());
For more details see NUnit Exception Asserts