/** * Test method for {@link * com.yahoo.petermwenda83.persistence.staff.ClassTeacherDAO#getClassTeacherList()}. */ @Ignore @Test public void testGetClassTeacherList() { store = new ClassTeacherDAO(databaseName, Host, databaseUsername, databasePassword, databasePort); List<ClassTeacher> list = store.getClassTeacherList(); for (ClassTeacher ss : list) { System.out.println(ss); } }
/** * Test method for {@link * com.yahoo.petermwenda83.persistence.staff.ClassTeacherDAO#updateClassTeacher(com.yahoo.petermwenda83.bean.staff.ClassTeacher)}. */ @Ignore @Test public void testUpdateClassTeacher() { store = new ClassTeacherDAO(databaseName, Host, databaseUsername, databasePassword, databasePort); ClassTeacher c = new ClassTeacher(); c.setTeacherUuid(TEACHER_UUID_NEW); c.setClassRoomUuid(CLASS_ROOM_UUID_UPDATE); assertTrue(store.updateClassTeacher(c)); }