MockController controller1 = new MockController(_zkaddr, clusterName, controllerName1);
GenericHelixController pipeline1 = new GenericHelixController();
ZkHelixLeaderElection leader1 = new ZkHelixLeaderElection(controller1.getController(), pipeline1);
NotificationContext context1 = new NotificationContext(controller1);
context1.setType(NotificationContext.Type.INIT);
leader1.onControllerChange(context1);
liveInstance = accessor.getProperty(keyBuilder.controllerLeader());
AssertJUnit.assertEquals(controllerName, liveInstance.getInstanceName());
// clean up
controller1.getConn().disconnect();