//
List<MetaModelEvent> events = mm.getQueue().clear();
ApplicationMetaModel application = mm.getChildren(ApplicationMetaModel.class).iterator().next();
ControllerMetaModel controller = application.getChild(ControllersMetaModel.KEY).iterator().next();
HandlerMetaModel method = controller.getHandlers().iterator().next();
assertEquals(Arrays.asList(
MetaModelEvent.createAdded(application),
MetaModelEvent.createAdded(controller),
MetaModelEvent.createAdded(method),
MetaModelEvent.createUpdated(controller)