@Before
@Override
protected void setUp() throws Exception {
cg = CommonGlobals.getInstance();
fbg = FormBuilderGlobals.getInstance();
bus = new SimpleEventBus();
i18n = EasyMock.createMock(I18NConstants.class);
res = EasyMock.createMock(FormBuilderResources.class);
cg.registerEventBus(bus);
fbg.registerResources(res);
fbg.registerI18n(i18n);