<PackageReference Include="nunit" Version="2.5.9.10348" />

IExpectException

public interface IExpectException
Interface implemented by a user fixture in order to validate any expected exceptions. It is only called for test methods marked with the ExpectedException attribute.

Method to handle an expected exception