when(identity.getCredentials()).thenReturn(credentials);
when(credentials.getUsername()).thenReturn("mock user");
projectIterationDAO = new ProjectIterationDAO(getSession());
documentDAO = new DocumentDAO(getSession());
textFlowTargetDAO = new TextFlowTargetDAO(getSession());
textFlowDAO = new TextFlowDAO(getSession());
rawDocumentDAO = new RawDocumentDAO((getSession()));
service = seam.reset()
.use("projectIterationDAO",