Add tests for ReadDataTransactionUtil WithDefaultParameters 91/103491/4
authortobias.pobocik <tobias.pobocik@pantheon.tech>
Thu, 1 Dec 2022 08:19:17 +0000 (09:19 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 12 Dec 2022 07:12:23 +0000 (07:12 +0000)
commitc75cd8bec9058ce9b0b836be26108b8349b438dd
treed484fe8b60908bfba8e3233440d8e83e34a76a00
parent0a125d96a57c769031195678c476793b66438c40
Add tests for ReadDataTransactionUtil WithDefaultParameters

The part of code where default parameter is used was entirely not tested.
Added model to create schema context and tests for testing the functionality.

Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Change-Id: I53493185c40748fa00bfc0c489df743b209fbf43
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/ReadDataTransactionUtilTest.java
restconf/restconf-nb/src/test/resources/modules/container.yang [new file with mode: 0644]