blob: 10608ab65100594f986893c82389851d6ab34f73 (
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
|
package org.openecomp.sdc.be.auditing.impl.distribution;
import org.junit.Test;
import org.openecomp.sdc.be.resources.data.auditing.AuditingGenericEvent;
import org.openecomp.sdc.be.resources.data.auditing.model.CommonAuditData;
import org.openecomp.sdc.be.resources.data.auditing.model.CommonAuditData.Builder;
public class AuditGetUebClusterEventFactoryTest {
private AuditGetUebClusterEventFactory createTestSubject() {
Builder newBuilder = CommonAuditData.newBuilder();
CommonAuditData build = newBuilder.build();
return new AuditGetUebClusterEventFactory(build, "");
}
@Test
public void testGetLogMessage() throws Exception {
AuditGetUebClusterEventFactory testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getLogMessage();
}
@Test
public void testGetDbEvent() throws Exception {
AuditGetUebClusterEventFactory testSubject;
AuditingGenericEvent result;
// default test
testSubject = createTestSubject();
result = testSubject.getDbEvent();
}
}
|