blob: 21f95a77277d30f6891f4b167149d76cb324fca0 (
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.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());
}
}
|