another change name in test cases

Change-Id: I765276626e730f1aa212e4ec58672579bf782ca3
diff --git a/capifcorejava/src/test/java/org/oransc/nonrtric/plt/capifcore/controller/DiscoverServiceTest.java b/capifcorejava/src/test/java/org/oransc/nonrtric/plt/capifcore/controller/DiscoverServiceTest.java
index e2c9292..1f86869 100644
--- a/capifcorejava/src/test/java/org/oransc/nonrtric/plt/capifcore/controller/DiscoverServiceTest.java
+++ b/capifcorejava/src/test/java/org/oransc/nonrtric/plt/capifcore/controller/DiscoverServiceTest.java
@@ -103,15 +103,15 @@
         when(serviceAPIDescriptionMock.getApiName()).thenReturn(apiName);

         when(serviceAPIDescription2Mock.getApiName()).thenReturn(apiName_wrong);

 

-        ArrayList<AefProfile> rr = new ArrayList();

-        rr.add(profileMock);

+        ArrayList<AefProfile> profile = new ArrayList();

+        profile.add(profileMock);

         ArrayList<Version> versionList = new ArrayList();

         versionList.add(versionMock);

 

         ServiceAPIDescription[] resultApis = {serviceAPIDescriptionMock, serviceAPIDescription2Mock};

         when(apiRegisterMock.getAPIs()).thenReturn(resultApis);

-        when(serviceAPIDescriptionMock.getAefProfiles()).thenReturn(rr);

-        when(serviceAPIDescription2Mock.getAefProfiles()).thenReturn(rr);

+        when(serviceAPIDescriptionMock.getAefProfiles()).thenReturn(profile);

+        when(serviceAPIDescription2Mock.getAefProfiles()).thenReturn(profile);

         when(profileMock.getVersions()).thenReturn(versionList);

         when(versionMock.getApiVersion()).thenReturn(apiVersion);