}
@Test
public void testDelete() throws Exception {
Question[] questions = new Question[5];
questions[0] = new Question("careUnit1", "Some Serializable1");
questions[1] = new Question("careUnit1", "Some Serializable2");
questions[2] = new Question("careUnit1", "Some Serializable3");
questions[3] = new Question("careUnit1", "Some Serializable4");
questions[4] = new Question("careUnit2", "Some Serializable5");
Set<Long> ids = new HashSet<Long>();
for (Question q : questions) {
entityManager.persist(q);
q.setStatusRetrieved();
if (q.getCareUnit().equals("careUnit1")) {