From 1eca204b16f9959db411eaa100788318dfbe6a04 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Fri, 25 Jan 2019 22:33:38 +0530 Subject: added test case to JsonTableTest.java to increase code coverage Issue-ID: MUSIC-182 Change-Id: I913315c825c9560d48f240dd7ca7c8d4bf36ee37 Signed-off-by: Sandeep J --- .../java/org/onap/music/unittests/jsonobjects/JsonTableTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java b/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java index e4c800fc..2279cf0b 100644 --- a/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java +++ b/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java @@ -4,6 +4,8 @@ * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property * =================================================================== + * Modifications Copyright (c) 2019 IBM. + * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -95,5 +97,11 @@ public class JsonTableTest { jt.setPrimaryKey(primaryKey); assertEquals(primaryKey,jt.getPrimaryKey()); } + + @Test + public void testFilteringKey() { + jt.setFilteringKey("FilteringKey"); + assertEquals("FilteringKey",jt.getFilteringKey()); + } } -- cgit 1.2.3-korg