Exemplo n.º 1
0
  @Test
  public void testUpdate() throws Exception {

    Manager manB = new Manager.Builder("Emily", "Man008", 2000).setName("Emma").Build();
    Assert.assertEquals(manB.getName(), "Emma");
  }
Exemplo n.º 2
0
  @Test
  public void testCreation() {

    Manager man = new Manager.Builder("Ryno", "Man007", 1500).Build();
    Assert.assertEquals(man.getEmpNum(), "Man007");
  }