示例#1
0
        public void Can_Handle_Exception_from_AlwaysThrowService()
        {
            string result;
            var    responseStatus = client.AlwaysThrows(out result, TestString);

            var expectedError = AlwaysThrowsService.GetErrorMessage(TestString);

            Assert.That(responseStatus.ErrorCode,
                        Is.EqualTo(typeof(NotImplementedException).Name));
            Assert.That(responseStatus.Message, Is.EqualTo(expectedError));
        }