public void ReturnsTrueWhenInnerExceptionMatchesType()
            {
                var target = new ApplicationException(
                    "bad!",
                    new InvalidOperationException("something else"));

                Assert.True(target.HasTypeOrInnerType <InvalidOperationException>());
            }