Mockito.when(_hostDao.persist((EngineHostVO)Matchers.anyObject())).thenReturn(host);
}
private void registerAndEnableZone() {
ZoneEntity zone = service.registerZone("47547648", "lab", "owner", null, new HashMap<String, String>());
State state = zone.getState();
System.out.println("state:" + state);
boolean result = zone.enable();
System.out.println("result:" + result);
}