ControllerContext ctx = getControllerContext("Intercepted");
Controller controller = ctx.getController();
//Move the bean intercepted to pre-install state
controller.change(ctx, ControllerState.PRE_INSTALL);
assertEquals(2, SimpleLifecycleCallback.interceptions.size());
assertTrue(hasExpectedInterception("Intercepted", ControllerState.CONFIGURED));
assertTrue(hasExpectedInterception("Intercepted", ControllerState.START));