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

import javax.servlet.http.HttpServletRequest;

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


}