AutonomiccsServiceOfferingService { public void createAutonomiccsServiceOffering() { List<ServiceOfferingVO> offerings = serviceOfferingDao.createSystemServiceOfferings(AUTONOMICCS_SYSTEM_VM_SERVICE_OFFERING_NAME, AUTONOMICCS_SYSTEM_VM_SERVICE_OFFERING_UNIQUE_NAME, 1, AUTONOMICCS_SYSTEM_VM_VM_RAMSIZE, AUTONOMICCS_SYSTEM_VM_CPUMHZ, 0, 0, false, null, Storage.ProvisioningType.THIN, true, null, true, VirtualMachine.Type.Instance, true); if (offerings == null || offerings.size() < 2) { throw new CloudRuntimeException("Data integrity problem : Autonomiccs System Offering For VMs has been removed?"); } }  ServiceOfferingVO searchAutonomiccsServiceOffering(); ServiceOfferingVO searchServiceOfferingById(long id); void createAutonomiccsServiceOffering();  }
@Test public void createAutonomiccsServiceOfferingTest() { List<ServiceOfferingVO> allServiceOffering = createServiceOfferingVOList(2); configureAndExecuteCreateAutonomiccsServiceOfferingTest(allServiceOffering); }