Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public static void NewExternalExceptionStringInt32Test( [Values(null, "", "methodName")] string methodName, [Values(0, 1, unchecked ((int)(0x80000000)))] int errorCode ) { Assert.That(ExceptionUtilities.NewExternalException(methodName, errorCode), Is.InstanceOf <ExternalException>() .With.Property("ErrorCode").EqualTo(errorCode) ); }