Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / utils / LoggingTest.java
1 package org.onap.vid.utils;
2
3 import javax.servlet.http.HttpServletRequest;
4
5 import org.apache.poi.hssf.record.formula.functions.T;
6 import org.junit.Test;
7 import org.springframework.http.HttpMethod;
8
9 import com.att.eelf.configuration.EELFLogger;
10
11 public class LoggingTest {
12
13     private Logging createTestSubject() {
14         return new Logging();
15     }
16
17     @Test
18     public void testGetMethodName() throws Exception {
19         String result;
20
21         // default test
22         result = Logging.getMethodName();
23     }
24
25     @Test
26     public void testGetMethodCallerName() throws Exception {
27         String result;
28
29         // default test
30         result = Logging.getMethodCallerName();
31     }
32
33     @Test
34     public void testGetRequestsLogger() throws Exception {
35         String serverName = "";
36         EELFLogger result;
37
38         // default test
39         result = Logging.getRequestsLogger(serverName);
40     }
41
42
43 }