blob: c696f25b548fcc272ae40f3ca9a85d6f2137d7a8 (
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
|
/**
*
*/
package org.onap.ccsdk.sli.core.sli.recording;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.junit.Test;
import org.onap.ccsdk.sli.core.sli.SvcLogicException;
/**
* @author dt5972
*
*/
public class TestSlf4jRecorder {
/**
* Test method for {@link org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder#record(java.util.Map)}.
*/
@Test
public void testRecord() {
Slf4jRecorder recorder = new Slf4jRecorder();
HashMap<String,String> parms = new HashMap<>();
parms.put("field1","hi");
try {
recorder.record(parms);
} catch (SvcLogicException e) {
fail("Caught SvcLogicException : "+e.getMessage());
}
}
}
|