@Test public void testMovie() { Movie m = new Movie(); assertNull(m.getPriceCategory()); assertNull(m.getReleaseDate()); assertNull(m.getTitle()); assertFalse(m.isRented()); }
protected Movie() { }
Movie { protected Movie() { } }
Movie { protected Movie() { } protected  Movie();  Movie(String aTitle, PriceCategory aPriceCategory);  Movie(String aTitle, Date aReleaseDate, PriceCategory aPriceCategory); }
Movie { protected Movie() { } protected  Movie();  Movie(String aTitle, PriceCategory aPriceCategory);  Movie(String aTitle, Date aReleaseDate, PriceCategory aPriceCategory); PriceCategory getPriceCategory(); void setPriceCategory(PriceCategory aPriceCategory); String getTitle(); void setTitle(String aTitle); Date getReleaseDate(); void setReleaseDate(Date aReleaseDate); boolean isRented(); void setRented(boolean isRented); int getId(); void setId(int anId); @Override int hashCode(); @Override boolean equals(Object obj); }
Movie { protected Movie() { } protected  Movie();  Movie(String aTitle, PriceCategory aPriceCategory);  Movie(String aTitle, Date aReleaseDate, PriceCategory aPriceCategory); PriceCategory getPriceCategory(); void setPriceCategory(PriceCategory aPriceCategory); String getTitle(); void setTitle(String aTitle); Date getReleaseDate(); void setReleaseDate(Date aReleaseDate); boolean isRented(); void setRented(boolean isRented); int getId(); void setId(int anId); @Override int hashCode(); @Override boolean equals(Object obj);  }