summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/utils/LoggingTest.java
blob: 40f4c876f4ed9ede136daddf52a2aa949a4919f7 (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
35
36
37
38
39
40
41
42
43
package org.onap.vid.utils;

import javax.servlet.http.HttpServletRequest;

import org.apache.poi.hssf.record.formula.functions.T;
import org.junit.Test;
import org.springframework.http.HttpMethod;

import com.att.eelf.configuration.EELFLogger;

public class LoggingTest {

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

    @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);
    }


}