diff options
author | Piotr Darosz <piotr.darosz@nokia.com> | 2019-09-04 10:05:34 +0200 |
---|---|---|
committer | Tomasz Golabek <tomasz.golabek@nokia.com> | 2019-09-04 10:29:46 +0000 |
commit | 51a0f7b4a6c924c42955fa93042bd154cb636a16 (patch) | |
tree | d2c2a9aa58fd00460119f429c9050bf10eb0e3df /openecomp-be/lib | |
parent | b491e6c3e97f81487d9f70e31b4e1159fe7aa9e8 (diff) |
common code coverage increase
Add tests for classes in sdc.tosca.datatypes.model package
Change-Id: Ifc277512d833b2501f0e594b9062d39c26565055
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Diffstat (limited to 'openecomp-be/lib')
-rw-r--r-- | openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/RequirementDefinitionTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/RequirementDefinitionTest.java b/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/RequirementDefinitionTest.java index a5c8fde25a..9f6bd25038 100644 --- a/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/RequirementDefinitionTest.java +++ b/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/RequirementDefinitionTest.java @@ -16,6 +16,8 @@ * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= + * Modifications copyright (c) 2019 Nokia + * ================================================================================ */ package org.openecomp.sdc.tosca.datatypes.model; @@ -31,11 +33,18 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters; +import static org.hamcrest.MatcherAssert.assertThat; + /** * @author shiria * @since September 07, 2016. */ public class RequirementDefinitionTest { + @Test + public void shouldHaveValidGettersAndSetters() { + assertThat(RequirementDefinition.class, hasValidGettersAndSetters()); + } @Test public void cloneTest() { |