Ejemplo n.º 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));
            }
Ejemplo n.º 2
0
            public override bool Matches(object actual)
            {
                _validations.ValidateActual(actual);

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