From 43b49025fd8f2cdcbbcaf436fb1c5dfabbaa4855 Mon Sep 17 00:00:00 2001 From: xuegao Date: Tue, 23 Feb 2021 16:16:42 +0100 Subject: Adding unit tests Adding unit tests to improve test coverage. Issue-ID: SDC-3428 Change-Id: I64ed1937fb95b16f8af2df20aa10a6d7c45e42e8 Signed-off-by: xuegao --- .../data/auditing/model/ResourceCommonInfo.java | 29 +++++++--------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'catalog-dao/src/main/java/org') 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; - } - } -- cgit 1.2.3-korg