blob: f2c73f59f5841657a2592795828f1d8ababfab9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package org.openecomp.sdc.be.dao.utils;
import org.elasticsearch.action.search.SearchResponse;
import org.junit.Assert;
import org.junit.Test;
public class ElasticSearchUtilTest {
@Test
public void testIsResponseEmpty() throws Exception {
SearchResponse searchResponse = null;
boolean result;
// test 1
searchResponse = null;
result = ElasticSearchUtil.isResponseEmpty(searchResponse);
Assert.assertEquals(true, result);
}
}
|