Example #1
0
        public virtual void Init()
        {
            _assert = ExpressiveAssertions.Tooling.AssertionRendererTool.Create(
                CompositeAssertionTool.Create(
                    ExpressiveAssertions.Tooling.AssertionRendererTool.Create(
                        TraceLoggingAssertionTool.Create()
                        ),
                    _introspective = new IntrospectiveAssertionTool(
                        ExpressiveAssertions.Tooling.AssertionRendererTool.Create(
                            CompositeAssertionTool.Create(
                                TraceLoggingAssertionTool.Create(),
                                ExpressiveAssertions.MSTest.MSTestAssertionTool.Create()
                                )
                            )
                        )
                    )
                );

            var evaluator = new DateTimeNormalizationEvaluator(new DefaultEvaluator());

            _assert.SetExpressionEvaluator(evaluator);
        }