1 package org.openecomp.vid.policy;
3 import org.apache.poi.hssf.record.formula.functions.T;
4 import org.glassfish.jersey.client.ClientResponse;
5 import org.junit.Assert;
8 public class PolicyUtilTest {
10 private PolicyUtil createTestSubject() {
11 return new PolicyUtil();
15 public void testWrapResponse() throws Exception {
18 PolicyResponseWrapper result;
21 result = PolicyUtil.wrapResponse(body, statusCode);
26 public void testWrapResponse_2() throws Exception {
27 RestObject<String> rs = null;
28 PolicyResponseWrapper result;
32 result = PolicyUtil.wrapResponse(rs);
33 Assert.assertNotNull(result);
37 public void testConvertPojoToString() throws Exception {
43 result = PolicyUtil.convertPojoToString(t);
44 Assert.assertEquals("", result);
48 public void testMain() throws Exception {
49 String[] args = new String[] { "" };
52 PolicyUtil.main(args);