@Test
  public void testFindID() throws Exception {
    StudentManager db = new StudentManager(CONN);

    try {
      Student e = db.findStudent(1);
      assertEquals("ANNA", e.getFirstName().toUpperCase());
      assertEquals("TRESS", e.getLastName().toUpperCase());
      e = db.findStudent(2);
      assertEquals("DIANA", e.getFirstName().toUpperCase());
      assertEquals("DOS", e.getLastName().toUpperCase());
    } catch (Throwable var3) {
      fail();
    }
  }
  @Test
  public void testFindStudent() throws Exception {
    StudentManager db = new StudentManager(CONN);

    try {
      List<Student> e = db.findStudent("NA", "T");
      assertEquals(1L, (long) e.size());
      assertEquals(1L, (long) ((Student) e.get(0)).getID());
      assertEquals("ANNA", ((Student) e.get(0)).getFirstName().toUpperCase());
      assertEquals("TRESS", ((Student) e.get(0)).getLastName().toUpperCase());
      e = db.findStudent("IANA", "DOS");
      assertEquals(1L, (long) e.size());
      assertEquals(2L, (long) ((Student) e.get(0)).getID());
      assertEquals("DIANA", ((Student) e.get(0)).getFirstName().toUpperCase());
      assertEquals("DOS", ((Student) e.get(0)).getLastName().toUpperCase());
    } catch (Throwable var3) {
      fail();
    }
  }