@Before public void Setup() { this.paperround = new Paperround(); this.papers = new ArrayList<>(); this.magazines = new ArrayList<>(); paperround.setPapers(papers); paperround.setMagazines(magazines); }
@Test public void TestCase2() { paperround.addMagazine(0); assertEquals(0, paperround.getMagazines().size()); }
@Test public void TestCase1() { paperround.addPaper(1); paperround.addMagazine(1); assertEquals(1, paperround.getMagazines().size()); }