testUser3 = new UserData("testUser3");
entityManager.persist(testUser3);
}
private void setupUserManager() {
final UserDataManagerImpl userManager = new UserDataManagerImpl();
userManager.setEntityManager(entityManager);
InvocationHandler invocationHandler = new InvocationHandler() {
@Override
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
entityManager.getTransaction().begin();
Object result;