blob: d639471c773c344152e177e881a29d310b86e6e9 (
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
|
package org.openecomp.sdc.be.auditing.impl.externalapi;
import org.junit.Test;
import org.openecomp.sdc.be.model.User;
import org.openecomp.sdc.be.resources.data.auditing.model.CommonAuditData;
import org.openecomp.sdc.be.resources.data.auditing.model.ResourceAuditData;
public class AuditChangeLifecycleExternalApiEventFactoryTest {
private AuditChangeLifecycleExternalApiEventFactory createTestSubject() {
org.openecomp.sdc.be.resources.data.auditing.model.CommonAuditData.Builder newBuilder = CommonAuditData.newBuilder();
CommonAuditData commonAuData = newBuilder.build();
org.openecomp.sdc.be.resources.data.auditing.model.ResourceAuditData.Builder newBuilder2 = ResourceAuditData.newBuilder();
ResourceAuditData resAuData = newBuilder2.build();
return new AuditChangeLifecycleExternalApiEventFactory(commonAuData, "", "", "", "",
resAuData, resAuData, "", new User(), "");
}
@Test
public void testGetLogMessage() throws Exception {
AuditChangeLifecycleExternalApiEventFactory testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getLogMessage();
}
}
|