Map h = new HashMap();
h.put("name","name");
h.put("surname","surname");
sm.setOutput(Personne.class,h);
sm.map(input, null);
src.release(sm);
try {
input.setSurname("thiery");
sm.map(input, null);
fail("Map should fail after releases");
} catch (Exception e) {