this.remotingClient = this.mocksControl.createMock(RemotingClientWrapper.class);
this.fetchManager = this.mocksControl.createMock(FetchManager.class);
// this.diamondManager = new DefaultDiamondManager(null,
// "metamorphosis.testZkConfig", (ManagerListener) null);
this.zkConfig = new ZKConfig();// DiamondUtils.getZkConfig(this.diamondManager,
// 10000);
this.zkConfig.zkConnect = "localhost:2181";
this.client =
new ZkClient(this.zkConfig.zkConnect, this.zkConfig.zkSessionTimeoutMs,
this.zkConfig.zkConnectionTimeoutMs, new ZkUtils.StringSerializer());