aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/test/java/org/onap/portalapp/conf/HibernateMappingLocationsTest.java
blob: 5daba43d3425876048356a08db8809d64247f215 (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
package org.onap.portalapp.conf;

import org.junit.Test;

public class HibernateMappingLocationsTest {

    private HibernateMappingLocations createTestSubject() {
        return new HibernateMappingLocations();
    }

    @Test
    public void testGetMappingLocations() throws Exception {
        HibernateMappingLocations testSubject;

        // default test
        testSubject = createTestSubject();
        testSubject.getMappingLocations();
    }

    @Test
    public void testGetPackagesToScan() throws Exception {
        HibernateMappingLocations testSubject;
        String[] result;

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