Beispiel #1
0
        public void WhenInitializedWith_MessageAndInnerExceptionConstructor()
        {
            var exception = new AlpacaParkedException("message", new Exception());

            Assert.Equal(_expectedErrorCode, exception.AlpacaErrorCode);
        }
Beispiel #2
0
        public void WhenInitializedWith_EmptyConstructor()
        {
            var exception = new AlpacaParkedException();

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