@Test public void testUpdate() throws Exception { Manager manB = new Manager.Builder("Emily", "Man008", 2000).setName("Emma").Build(); Assert.assertEquals(manB.getName(), "Emma"); }
@Test public void testCreation() { Manager man = new Manager.Builder("Ryno", "Man007", 1500).Build(); Assert.assertEquals(man.getEmpNum(), "Man007"); }