Пример #1
0
            public bool Matches(ITestActualEvaluation actual)
            {
                if (actual == null)
                {
                    throw new ArgumentNullException(nameof(actual));
                }
                var ex = Record.ApplyFlags(actual.Exception, _flags);

                return(Expected.GetTypeInfo().IsInstanceOfType(ex));
            }