diff options
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp')
-rw-r--r-- | openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/MonitoringUploadStatusTest.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/MonitoringUploadStatusTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/MonitoringUploadStatusTest.java index 3e18f65949..d4397985da 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/MonitoringUploadStatusTest.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/MonitoringUploadStatusTest.java @@ -20,14 +20,22 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator; -import org.junit.Test; +import org.junit.jupiter.api.Test; import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters; import static org.junit.Assert.assertThat; +import static org.junit.jupiter.api.Assertions.assertEquals; public class MonitoringUploadStatusTest { @Test public void shouldHaveValidGettersAndSetters() { assertThat(MonitoringUploadStatus.class, hasValidGettersAndSetters()); } + + @Test + public void constructorTest() { + MonitoringUploadStatus status = new MonitoringUploadStatus("test1", "test2"); + assertEquals("test1", status.getSnmpTrap()); + assertEquals("test2", status.getSnmpPoll()); + } }
\ No newline at end of file |