Convert models to JUnit 5
[policy/models.git] / models-interactions / model-actors / actor.cds / src / test / java / org / onap / policy / controlloop / actor / cds / properties / GrpcOperationTargetVnfPropertiesTest.java
index 798a96b..dbc0142 100644 (file)
@@ -1,6 +1,7 @@
 /*-
  * ============LICENSE_START=======================================================
  * Copyright (C) 2022 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2024 Nordix Foundation
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 package org.onap.policy.controlloop.actor.cds.properties;
 
 import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNull;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNull;
 
 import java.util.Collections;
 import java.util.Map;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 import org.onap.policy.cds.properties.CdsServerProperties;
 import org.onap.policy.common.utils.time.PseudoExecutor;
 import org.onap.policy.controlloop.actor.cds.GrpcConfig;
@@ -33,16 +34,16 @@ import org.onap.policy.controlloop.actorserviceprovider.OperationProperties;
 import org.onap.policy.controlloop.actorserviceprovider.TargetType;
 import org.onap.policy.controlloop.actorserviceprovider.parameters.ControlLoopOperationParams;
 
-public class GrpcOperationTargetVnfPropertiesTest {
+class GrpcOperationTargetVnfPropertiesTest {
 
     @Test
-    public void getPropertyNames() {
+     void getPropertyNames() {
         assertEquals(GrpcOperationTargetVnfProperties.VNF_PROPERTY_NAMES,
                 new GrpcOperationTargetVnfProperties().getPropertyNames());
     }
 
     @Test
-    public void convertToAaiProperties() {
+     void convertToAaiProperties() {
         ControlLoopOperationParams params =
                 ControlLoopOperationParams.builder()
                         .targetType(TargetType.VNF)