### Question:
TaskAssigningPersistenceUnitPostProcessor implements JBPMPersistenceUnitPostProcessor { @Override public void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui) { LOGGER.debug("Adding the task assigning entities to the current jBPM persistent unit: {}.", pui.getPersistenceUnitName()); pui.getManagedClassNames().add(PlanningTaskImpl.class.getName()); LOGGER.debug("Task assigning entities where successfully added."); }  @Override void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui);  }### Answer:
@Test public void postProcessPersistenceUnitInfo() { MutablePersistenceUnitInfo persistenceUnitInfo = new MutablePersistenceUnitInfo(); TaskAssigningPersistenceUnitPostProcessor processor = new TaskAssigningPersistenceUnitPostProcessor(); processor.postProcessPersistenceUnitInfo(persistenceUnitInfo); assertTrue("Class: " + PlanningTaskImpl.class.getName() + " is expected to have been added as managed class.", persistenceUnitInfo.getManagedClassNames().contains(PlanningTaskImpl.class.getName())); }