In nunit3 another approach is needed.
`Exception ex = Assert.Catch<Exception>(() => {...}`
This way one can use the AAA (Arrange/Act/Approve) pattern.