JavaScriptSupport js = mockJavaScriptSupport();
Environment environment = mockEnvironment();
expect(environment.peek(FormSupport.class)).andReturn(null).atLeastOnce();
js.addInitializerCall("zone", new JSONObject("element", "client1"));
js.addInitializerCall("zone", new JSONObject("element", "client2"));
replay();
ClientBehaviorSupportImpl setup = new ClientBehaviorSupportImpl(js, environment);