161718192021222324
super(request); } @Override public WOActionResults createAction() throws Throwable { Movie movie = create(showFilter()); editingContext().saveChanges(); return response(movie, showFilter()); }
192021222324252627
assertNotNull(c); } public void testAddRental() { Customer customer2 = new Customer("Sallie"); Movie movie1 = new Movie("Gone with the Wind", Movie.REGULAR); Rental rental1 = new Rental(movie1, 3); // 3 day rental customer2.addRental(rental1); }