aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/cache/DaoInfoTest.java
blob: 2e2f36b9c78147214d25d8c6b9d510aecf31ba65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package org.openecomp.sdc.be.model.cache;

import org.junit.Test;
import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;


public class DaoInfoTest {

	private DaoInfo createTestSubject() {
		return new DaoInfo(new ToscaOperationFacade(), new ComponentCache());
	}
	
	@Test
	public void testGetToscaOperationFacade() throws Exception {
		DaoInfo testSubject;
		ToscaOperationFacade result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getToscaOperationFacade();
	}
	
	@Test
	public void testGetComponentCache() throws Exception {
		DaoInfo testSubject;
		ComponentCache result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getComponentCache();
	}
}