@Test
  public void testCreate() throws Exception {

    List<Fine> fine = new ArrayList<>();
    Fine newFine = new FineFactory().createFine(50, "Book not returned by duedate", false);
    fine.add(newFine);

    Rental rental = new RentalFactory().createRental(new Date(), new Date(), new Date(), fine);

    Assert.assertNotNull(rental);
    Assert.assertNotNull(rental.getTakeOutDate());
    Assert.assertNotNull(rental.getDueDate());
    Assert.assertNotNull(rental.getReturnDate());
    Assert.assertNotNull(fine);
  }