Example #1
0
        public void calculate_a_lease_length_larger_than_the_lease_renewal_time()
        {
            var sut = new LeaseLengthCalculator(leaseCriteria);

            var length = sut.Calculate();

            Assert.True(length > renewLeaseEvery);
        }
Example #2
0
        public void calculate_a_lease_length_greater_than_zero()
        {
            var sut = new LeaseLengthCalculator(leaseCriteria);

            var length = sut.Calculate();

            Assert.True(length > TimeSpan.Zero);
        }