Ejemplo n.º 1
0
  // TODO add test methods here.
  // The methods must be annotated with annotation @Test. For example:
  //
  @Test
  public void createStudent() {
    Student p1 = new Student("Tracy");
    Assert.assertEquals("First Students name", "name: Tracy", p1.toString());

    Student p2 = (Student) p1.doClone();
    Assert.assertEquals("First Students name", "name: Tracy", p2.toString());
  }