public void Min_With_Predicate_Should_Return_Min(IRepository<Contact, string> repository)
        {
            for (var i = 1; i <= 3; i++)
            {
                var contact = new Contact { Name = "Test User " + i, ContactTypeId = i, SumDecimal = 0.5m + i };
                repository.Add(contact);
            }

            repository.Min(x => x.ContactTypeId > 1, x => x.ContactTypeId).ShouldEqual(2);
        }
        public void Min_Decimal_All_Should_Return_Min(IRepository<Contact, string> repository)
        {
            for (var i = 1; i <= 3; i++)
            {
                var contact = new Contact { Name = "Test User " + i, ContactTypeId = i, SumDecimal = 0.5m + i };
                repository.Add(contact);
            }

            repository.Min(x => x.SumDecimal).ShouldEqual(1.5m);
        }