teacher = new Teacher(person, new Integer("2"));
teacher = new Teacher(person, new Integer("22"));
	public void testLockWrite() {		ITeacher teacher = null;		// write non existing		IPessoa person = new Pessoa(new TipoDocumentoIdentificacao(				TipoDocumentoIdentificacao.BILHETE_DE_IDENTIDADE),"eusoufixe");				teacher = new Teacher(person, new Integer("2"));		try {			persistentSupport.iniciarTransaccao();			persistentTeacher.lockWrite(teacher);			persistentSupport.confirmarTransaccao();		} catch (ExcepcaoPersistencia excepcaoPersistencia) {			fail("testLockWrite: write non Existing");		}		ITeacher teacherRead = null;		try {			persistentSupport.iniciarTransaccao();			teacherRead =				persistentTeacher.readTeacherByNumber(					teacher.getTeacherNumber());			persistentSupport.confirmarTransaccao();		} catch (ExcepcaoPersistencia excepcaoPersistencia) {			fail("testEscreverPais: unexpected exception reading");		}		assertNotNull(teacherRead);		assertEquals(			teacherRead.getTeacherNumber(),			teacher.getTeacherNumber());		assertEquals(			teacherRead.getResponsibleForExecutionCourses(),			teacher.getResponsibleForExecutionCourses());		assertEquals(			teacherRead.getProfessorShipsExecutionCourses(),			teacher.getProfessorShipsExecutionCourses());	}