Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / externalapi / servlet / representation / ServiceAssetDetailedMetadataTest.java
1 package org.openecomp.sdc.be.externalapi.servlet.representation;
2
3 import java.util.List;
4
5 import org.junit.Test;
6
7
8 public class ServiceAssetDetailedMetadataTest {
9
10         private ServiceAssetDetailedMetadata createTestSubject() {
11                 return new ServiceAssetDetailedMetadata();
12         }
13
14         
15         @Test
16         public void testGetLastUpdaterFullName() throws Exception {
17                 ServiceAssetDetailedMetadata testSubject;
18                 String result;
19
20                 // default test
21                 testSubject = createTestSubject();
22                 result = testSubject.getLastUpdaterFullName();
23         }
24
25         
26         @Test
27         public void testSetLastUpdaterFullName() throws Exception {
28                 ServiceAssetDetailedMetadata testSubject;
29                 String lastUpdaterFullName = "";
30
31                 // default test
32                 testSubject = createTestSubject();
33                 testSubject.setLastUpdaterFullName(lastUpdaterFullName);
34         }
35
36         
37         @Test
38         public void testGetResources() throws Exception {
39                 ServiceAssetDetailedMetadata testSubject;
40                 List<ResourceInstanceMetadata> result;
41
42                 // default test
43                 testSubject = createTestSubject();
44                 result = testSubject.getResources();
45         }
46
47         
48         @Test
49         public void testSetResources() throws Exception {
50                 ServiceAssetDetailedMetadata testSubject;
51                 List<ResourceInstanceMetadata> resources = null;
52
53                 // default test
54                 testSubject = createTestSubject();
55                 testSubject.setResources(resources);
56         }
57
58         
59         @Test
60         public void testGetArtifacts() throws Exception {
61                 ServiceAssetDetailedMetadata testSubject;
62                 List<ArtifactMetadata> result;
63
64                 // default test
65                 testSubject = createTestSubject();
66                 result = testSubject.getArtifacts();
67         }
68
69         
70         @Test
71         public void testSetArtifacts() throws Exception {
72                 ServiceAssetDetailedMetadata testSubject;
73                 List<ArtifactMetadata> artifacts = null;
74
75                 // default test
76                 testSubject = createTestSubject();
77                 testSubject.setArtifacts(artifacts);
78         }
79 }