Increasing test coverage
[aai/sparky-be.git] / src / test / java / org / onap / aai / sparky / search / EntityTypeSummaryBucketTest.java
1 package org.onap.aai.sparky.search;
2
3 import static org.junit.Assert.assertEquals;
4 import static org.junit.Assert.assertNotNull;
5
6 import org.junit.Before;
7 import org.junit.Test;
8
9 public class EntityTypeSummaryBucketTest {
10         
11 private EntityTypeSummaryBucket entityTypeSummaryBucket;
12         
13         @Before
14           public void init() throws Exception {
15                 entityTypeSummaryBucket = new EntityTypeSummaryBucket();
16               
17           }
18         
19         
20         @Test 
21         public void updateValues() {
22                 
23                 entityTypeSummaryBucket.setKey("54566");
24                 assertNotNull(entityTypeSummaryBucket.getKey());
25                 entityTypeSummaryBucket.setCount(3);
26                 assertEquals(3,entityTypeSummaryBucket.getCount());
27                 
28         }
29         
30
31 }