diff options
Diffstat (limited to 'src/test/java/org/onap/aai/sparky/search/EntityTypeSummaryBucketTest.java')
-rw-r--r-- | src/test/java/org/onap/aai/sparky/search/EntityTypeSummaryBucketTest.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/test/java/org/onap/aai/sparky/search/EntityTypeSummaryBucketTest.java b/src/test/java/org/onap/aai/sparky/search/EntityTypeSummaryBucketTest.java new file mode 100644 index 0000000..31f0c04 --- /dev/null +++ b/src/test/java/org/onap/aai/sparky/search/EntityTypeSummaryBucketTest.java @@ -0,0 +1,31 @@ +package org.onap.aai.sparky.search; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +import org.junit.Before; +import org.junit.Test; + +public class EntityTypeSummaryBucketTest { + +private EntityTypeSummaryBucket entityTypeSummaryBucket; + + @Before + public void init() throws Exception { + entityTypeSummaryBucket = new EntityTypeSummaryBucket(); + + } + + + @Test + public void updateValues() { + + entityTypeSummaryBucket.setKey("54566"); + assertNotNull(entityTypeSummaryBucket.getKey()); + entityTypeSummaryBucket.setCount(3); + assertEquals(3,entityTypeSummaryBucket.getCount()); + + } + + +} |