Implemented unit tests for ServiceNetwork json codec
Change-Id: I150c831d51d2bb7eb08d945e56c99bece5dbfd72
diff --git a/src/test/resources/org/opencord/cordvtn/codec/service-network-with-provider.json b/src/test/resources/org/opencord/cordvtn/codec/service-network-with-provider.json
new file mode 100644
index 0000000..a5dbb88
--- /dev/null
+++ b/src/test/resources/org/opencord/cordvtn/codec/service-network-with-provider.json
@@ -0,0 +1,12 @@
+{
+ "serviceNetwork": {
+ "id": "B",
+ "type": "private",
+ "providerNetworks": [
+ {
+ "id": "A",
+ "bidirectional": true
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/opencord/cordvtn/codec/service-network.json b/src/test/resources/org/opencord/cordvtn/codec/service-network.json
new file mode 100644
index 0000000..857cca6
--- /dev/null
+++ b/src/test/resources/org/opencord/cordvtn/codec/service-network.json
@@ -0,0 +1,7 @@
+{
+ "serviceNetwork": {
+ "id": "A",
+ "type": "management_local",
+ "providerNetworks": []
+ }
+}
\ No newline at end of file