@Test
    public void customerDiscountTest(){
        Calendar calendar = Calendar.getInstance();
        calendar.add(Calendar.YEAR, -2);
        Customer customer = new Customer(calendar.getTime());
        Assert.assertEquals(customer.getDiscount(), 5.0);

        calendar.add(Calendar.YEAR, 1);
        customer.setStartDate(calendar.getTime());
        Assert.assertEquals(customer.getDiscount(), 0.0);
    }