예제 #1
0
        public void ThrowExceptionStep(string errorName)
        {
            var exception = _commonContext.GetLastException();

            Assert.IsNotNull(exception, "An exception was not thrown when one was expected.");
            Assert.AreEqual($"iovation.LaunchKey.Sdk.Error.{errorName}", exception.GetType().ToString(), "Exception was thrown but was the wrong type.");
        }