15161718192021
private MediaDao dao ; @Before public void setup() { dao = new MediaDao(); }
1920212223242526272829
private MediaDao dao; @Override public void init() throws ServletException { dao = new MediaDao(); dao.add(new Media("Fight Club")); dao.add(new Media("Blade Runner")); dao.add(new Media("Dark City")); super.init();