@Mock
 public Object execute() {
   if (requestResourceType == 1) {
     WAPTemplatesModel templatesModel = new WAPTemplatesModel();
     List<WAPTemplateModel> templates = new ArrayList<>();
     templates.add(
         createTemplate(
             TPL_1_ID, TPL_1_NAME, TPL_1_OWNER, TPL_1_DESCRIPTION, "true", "windows"));
     templatesModel.setTemplates(templates);
     return templatesModel;
   }
   if (requestResourceType == 2) {
     WAPHardwareProfilesModel hardwareProfilesModel = new WAPHardwareProfilesModel();
     List<WAPHardwareProfileModel> profiles = new ArrayList<>();
     profiles.add(
         createHardwareProfile(
             HWP_1_ID,
             HWP_1_NAME,
             HWP_1_DESCRIPTION,
             HWP_1_STAMP_ID,
             HWP_1_CPU_COUNT,
             HWP_1_MEMORY));
     hardwareProfilesModel.setHardwareProfiles(profiles);
     return hardwareProfilesModel;
   }
   return null;
 }
 @Mock
 public Object execute() {
   if (requestResourceType == 1) {
     return mapFromModel(this.responseHandler, createWAPVirtualMachineModel());
   }
   if (requestResourceType == 2) {
     WAPVirtualNetworkAdapters wapVirtualNetworkAdapters = new WAPVirtualNetworkAdapters();
     List<WAPVirtualNetworkAdapter> virtualNetworkAdapters = new ArrayList<>();
     virtualNetworkAdapters.add(
         createVirtualNetworkAdapter(VM_1_NETWORK_ID, VM_1_NETWORK_IP_ADDRESSES));
     wapVirtualNetworkAdapters.setVirtualNetworkAdapters(virtualNetworkAdapters);
     return wapVirtualNetworkAdapters;
   }
   if (requestResourceType == 3) {
     WAPHardwareProfilesModel hardwareProfilesModel = new WAPHardwareProfilesModel();
     List<WAPHardwareProfileModel> profiles = new ArrayList<>();
     profiles.add(
         createHardwareProfile(
             HWP_1_ID,
             HWP_1_NAME,
             HWP_1_DESCRIPTION,
             HWP_1_STAMP_ID,
             HWP_1_CPU_COUNT,
             HWP_1_MEMORY));
     hardwareProfilesModel.setHardwareProfiles(profiles);
     return hardwareProfilesModel;
   }
   if (requestResourceType == 4) {
     WAPVirtualMachinesModel wapVirtualMachinesModel = new WAPVirtualMachinesModel();
     List<WAPVirtualMachineModel> virtualMachines = new ArrayList<>();
     virtualMachines.add(createWAPVirtualMachineModel());
     wapVirtualMachinesModel.setVirtualMachines(virtualMachines);
     return wapVirtualMachinesModel;
   }
   return null;
 }