Ejemplo n.º 1
0
        public void WhenInitializedWith_MessageAndInnerExceptionConstructor()
        {
            var exception = new AlpacaInvalidOperationException("message", new Exception());

            Assert.Equal(_expectedErrorCode, exception.AlpacaErrorCode);
        }
Ejemplo n.º 2
0
        public void WhenInitializedWith_EmptyConstructor()
        {
            var exception = new AlpacaInvalidOperationException();

            Assert.Equal(_expectedErrorCode, exception.AlpacaErrorCode);
        }