diff options
author | xuegao <xue.gao@intl.att.com> | 2021-02-23 16:16:42 +0100 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-02-26 17:03:37 +0000 |
commit | 43b49025fd8f2cdcbbcaf436fb1c5dfabbaa4855 (patch) | |
tree | 34becd0c9d52ff8436e77be37f595059e9e20ebc /catalog-dao | |
parent | 5d760031d3aeecff297c6141adfe5d7490cdcbb9 (diff) |
Adding unit tests
Adding unit tests to improve test coverage.
Issue-ID: SDC-3428
Change-Id: I64ed1937fb95b16f8af2df20aa10a6d7c45e42e8
Signed-off-by: xuegao <xue.gao@intl.att.com>
Diffstat (limited to 'catalog-dao')
-rw-r--r-- | catalog-dao/src/main/java/org/openecomp/sdc/be/resources/data/auditing/model/ResourceCommonInfo.java | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/data/auditing/model/ResourceCommonInfo.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/data/auditing/model/ResourceCommonInfo.java index 58226a994b..4ca585ccc1 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/data/auditing/model/ResourceCommonInfo.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/resources/data/auditing/model/ResourceCommonInfo.java @@ -20,32 +20,21 @@ package org.openecomp.sdc.be.resources.data.auditing.model; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; + +@NoArgsConstructor +@AllArgsConstructor +@Getter +@Setter public class ResourceCommonInfo { private String resourceName; private String resourceType; - public ResourceCommonInfo(){} - - public ResourceCommonInfo(String resourceName, String resourceType) { - this.resourceName = resourceName; - this.resourceType = resourceType; - } - public ResourceCommonInfo(String resourceType) { this.resourceType = resourceType; } - - public String getResourceName() { - return resourceName; - } - - public String getResourceType() { - return resourceType; - } - - public void setResourceName(String resourceName) { - this.resourceName = resourceName; - } - } |