Field controllerField = ClassUtils.getField(EntityController.class, "decipherer");
controllerField.setAccessible(true);
controllerField.set(controller, crypto);
Field contextField = ClassUtils.getField(EntityController.class, "context");
contextField.setAccessible(true);
contextField.set(controller, new ContextHolder() {
@Override
public List<Locale> getAvailableLocales() {
Locale l = new Locale();
l.setDescription("English");
l.setLocale("en");