blob: db62759406a35d2123603d818a541ceb9bf6ca58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.onap.so.db.catalog.data.repository;
import org.junit.Assert;
import org.junit.Test;
import org.onap.so.db.catalog.BaseTest;
import org.onap.so.db.catalog.beans.CloudifyManager;
import org.springframework.beans.factory.annotation.Autowired;
public class CloudifyManagerRepositoryTest extends BaseTest {
@Autowired
private CloudifyManagerRepository cloudifyManagerRepository;
@Test
public void findOneTest() throws Exception {
CloudifyManager cloudifyManager = cloudifyManagerRepository.findOne("mtn13");
Assert.assertNotNull(cloudifyManager);
Assert.assertEquals("mtn13", cloudifyManager.getId());
}
}
|