aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/utils/LoggingTest.java
blob: 7fe25fe65eac3605fbecd7b2bcee34a807ca881a (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
33
34
package org.onap.vid.utils;

import com.att.eelf.configuration.EELFLogger;
import org.junit.Test;

public class LoggingTest {

    @Test
    public void testGetMethodName() throws Exception {
        String result;

        // default test
        result = Logging.getMethodName();
    }

    @Test
    public void testGetMethodCallerName() throws Exception {
        String result;

        // default test
        result = Logging.getMethodCallerName();
    }

    @Test
    public void testGetRequestsLogger() throws Exception {
        String serverName = "";
        EELFLogger result;

        // default test
        result = Logging.getRequestsLogger(serverName);
    }


}