@Override public void removeControllerService(final ControllerService service) { disableControllerService(service); try { ReflectionUtils.invokeMethodsWithAnnotation(OnRemoved.class, service); } catch (final Exception e) { e.printStackTrace(); Assert.fail("Failed to remove Controller Service " + service + " due to " + e); } context.removeControllerService(service); }