1 package org.onap.so.db.catalog.data.repository;
3 import org.junit.Assert;
5 import org.onap.so.BaseTest;
6 import org.onap.so.db.catalog.beans.CloudIdentity;
7 import org.springframework.beans.factory.annotation.Autowired;
9 public class CloudIdentityRepositoryTest extends BaseTest {
12 private CloudIdentityRepository cloudIdentityRepository;
15 public void findOneTest() throws Exception {
16 CloudIdentity cloudIdentity = cloudIdentityRepository.findOne("mtn13");
17 Assert.assertNotNull(cloudIdentity);
18 Assert.assertEquals("mtn13",cloudIdentity.getId());