Unit tests
[vid.git] / epsdk-app-onap / src / test / java / org / onap / portalapp / conf / HibernateMappingLocationsTest.java
1 package org.onap.portalapp.conf;
2
3 import org.junit.Test;
4
5 public class HibernateMappingLocationsTest {
6
7     private HibernateMappingLocations createTestSubject() {
8         return new HibernateMappingLocations();
9     }
10
11     @Test
12     public void testGetMappingLocations() throws Exception {
13         HibernateMappingLocations testSubject;
14
15         // default test
16         testSubject = createTestSubject();
17         testSubject.getMappingLocations();
18     }
19
20     @Test
21     public void testGetPackagesToScan() throws Exception {
22         HibernateMappingLocations testSubject;
23         String[] result;
24
25         // default test
26         testSubject = createTestSubject();
27         result = testSubject.getPackagesToScan();
28     }
29 }