Exemple #1
0
        protected void AssertHasNoInnerException(Exception e)
        {
            e.ThrowIfNull(nameof(e));

            Assert.IsNull(e.InnerException, TestBaseStringResources.ExpectedPropertyToBeNotSet(nameof(e.InnerException)));
        }
Exemple #2
0
        protected void AssertHasNoParamName(ArgumentException e)
        {
            e.ThrowIfNull(nameof(e));

            Assert.IsNull(e.ParamName, TestBaseStringResources.ExpectedPropertyToBeNotSet(nameof(e.ParamName)));
        }