public void OrderByDescending_Success()
        {
            QueryableImplTest <ClassSource> expected = new QueryableImplTest <ClassSource>();

            IQueryable <ClassSource> actual = expected.OrderByDescending <ClassSource, ClassDest>("PropInt1");

            Assert.IsTrue(CheckExpressionMethod(actual.Expression, nameof(QueryableExtentions.OrderByDescending)));
        }
        public void ThenBy_Success()
        {
            ExpressionMapper.CreateMap <ClassSource, ClassDest>().ForMember(s => s.PropString1, d => d.PropString2);
            ExpressionMapper.Initialize();

            QueryableImplTest <ClassSource> expected = new QueryableImplTest <ClassSource>();

            IQueryable <ClassSource> actual = expected.OrderByDescending <ClassSource, ClassDest>("PropInt1").ThenBy <ClassSource, ClassDest>("PropInt1");

            Assert.IsTrue(CheckExpressionMethod(actual.Expression, nameof(QueryableExtentions.ThenBy)));
        }
        public void OrderByDescending_Success()
        {

            IQueryable<ClassSource> actual = null;

            QueryableImplTest<ClassSource> expected = new QueryableImplTest<ClassSource>();

            actual = expected.OrderByDescending<ClassSource, ClassDest>("PropInt1");
            Assert.IsTrue(CheckExpressionMethod(actual.Expression, nameof(QueryableExtentions.OrderByDescending)));

        }
        public void ThenBy_Success()
        {
            Mapper.CreateMap<ClassSource, ClassDest>()
                .ForMember(s => s.PropString1, d => d.PropString2);
            Mapper.Initialize();
            IQueryable<ClassSource> actual = null;

            QueryableImplTest<ClassSource> expected = new QueryableImplTest<ClassSource>();

            actual = expected.OrderByDescending<ClassSource, ClassDest>("PropInt1")
                             .ThenBy<ClassSource, ClassDest>("PropInt1");
            Assert.IsTrue(CheckExpressionMethod(actual.Expression, nameof(QueryableExtentions.ThenBy)));

        }