Implant vid-app-common org.onap.vid.job (main and test)
[vid.git] / vid-app-common / src / test / java / org / onap / vid / mso / rest / RequestDetailsTest.java
index 575ceab..7f30b0f 100644 (file)
 
 package org.onap.vid.mso.rest;
 
+import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEqualsExcluding;
+import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSettersExcluding;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.testng.AssertJUnit.assertEquals;
+
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
 import org.assertj.core.api.AssertionsForClassTypes;
 import org.onap.vid.exceptions.NotFoundException;
+import org.onap.vid.testUtils.TestUtils;
+import org.testng.annotations.BeforeClass;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.DataProvider;
 import org.testng.annotations.Test;
 
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEqualsExcluding;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSettersExcluding;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.testng.AssertJUnit.assertEquals;
-
 
 public class RequestDetailsTest {
 
@@ -48,6 +49,10 @@ public class RequestDetailsTest {
        private static final ImmutableList<String> LCP_CLOUD_REGION_ID_PATH =
                        ImmutableList.of("requestDetails", "cloudConfiguration", "lcpCloudRegionId");
 
+       @BeforeClass
+       public static void registerValueGenerator() {
+               TestUtils.registerCloudConfigurationValueGenerator();
+       }
 
        @BeforeMethod
        public void setUp() {