@Test public void testDifferentSeason() throws Exception { EpisodeSerie entity = getEntity(); EpisodeSerie copy = new EpisodeSerie(entity); entity.setSeason(SERIE_SEASON_FACTORY.getNext()); assertNotEquals(entity, copy); }
@Test public void testDifferentEpisodeNumber() throws Exception { EpisodeSerie entity = getEntity(); EpisodeSerie copy = new EpisodeSerie(entity); entity.setEpisodeNumber(entity.getEpisodeNumber() + 1); assertNotEquals(entity, copy); }