package org.onap.vfc.nfvo.driver.vnfm.svnfm.nokia.onap.vfc;
+import com.google.common.collect.Sets;
import org.junit.Before;
import org.junit.Test;
import org.onap.vfc.nfvo.driver.vnfm.svnfm.nokia.vnfm.TestBase;
verify(logger).error("Unable to query VNFM from VF-C with myVnfmId identifier", expectedException);
}
}
+
+ /**
+ * The VNFM identifier is loaded from property files
+ */
+ @Test
+ public void testGetVnfms(){
+ setFieldWithPropertyAnnotation(vfcExternalSystemInfoProvider, "${vnfmId}", "myVnfmId");
+ assertEquals(Sets.newHashSet("myVnfmId"), vfcExternalSystemInfoProvider.getVnfms());
+ }
}