    @Test
    public void testSetCourses() {

        List<Course> l = new ArrayList<>();
        l.add(new Course("aaa"));

        dao.setCourses(l);

        assertEquals(1, dao.getCourses().size());
    }