Upgrade SDC from Titan to Janus Graph
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / cache / DaoInfoTest.java
1 package org.openecomp.sdc.be.model.cache;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.model.jsonjanusgraph.operations.ToscaOperationFacade;
5
6
7 public class DaoInfoTest {
8
9         private DaoInfo createTestSubject() {
10                 return new DaoInfo(new ToscaOperationFacade(), new ComponentCache());
11         }
12         
13         @Test
14         public void testGetToscaOperationFacade() throws Exception {
15                 DaoInfo testSubject;
16                 ToscaOperationFacade result;
17
18                 // default test
19                 testSubject = createTestSubject();
20                 result = testSubject.getToscaOperationFacade();
21         }
22         
23         @Test
24         public void testGetComponentCache() throws Exception {
25                 DaoInfo testSubject;
26                 ComponentCache result;
27
28                 // default test
29                 testSubject = createTestSubject();
30                 result = testSubject.getComponentCache();
31         }
32 }