@Test
  public void testGetAverageNumberOfNotes5() {
    System.out.println("getAverageNumberOfNotes");

    dvdLibraryDao.create(dvd1);

    double result = dvdLibraryDao.getAverageNumberOfNotes();
    double expResult = 2;

    Assert.assertEquals(expResult, result, 0);
  }
  @Test
  public void testGetAverageNumberOfNotes2() {
    System.out.println("getAverageNumberOfNotes");

    dvdLibraryDao.create(dvd1);
    dvdLibraryDao.create(dvd2);
    dvd3.getNotes().add(note4a);
    dvd3.getNotes().add(note4b);
    dvdLibraryDao.create(dvd3);

    double result = dvdLibraryDao.getAverageNumberOfNotes();
    double expResult = 2.6666666;

    Assert.assertEquals(expResult, result, 0.001);
  }