public void WhenInitializedWith_MessageAndInnerExceptionConstructor() { var exception = new AlpacaInvalidOperationException("message", new Exception()); Assert.Equal(_expectedErrorCode, exception.AlpacaErrorCode); }
public void WhenInitializedWith_EmptyConstructor() { var exception = new AlpacaInvalidOperationException(); Assert.Equal(_expectedErrorCode, exception.AlpacaErrorCode); }