import java.util.Set;
import org.junit.Before;
import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import com.att.nsa.apiClient.http.HttpException;
import com.att.nsa.apiClient.http.HttpObjectNotFoundException;
} catch (IOException e) {
e.printStackTrace();
}
+ assertNotNull(hosts);
// assertEquals ("http://localhost:8080/events/" + "topic/cg/cid", url );
TopicInfo topicInfo=c.getTopicMetadata(topic);
} catch (IOException | HttpObjectNotFoundException e) {
e.printStackTrace();
- }
+ }
+ assertNotNull(topic);
}
} catch (IOException | HttpException e) {
e.printStackTrace();
}
+ assertNotNull(hosts);
}
@Test
public void testupdateApiKey(){
import org.onap.dmaap.mr.client.MRClientFactory;
import org.onap.dmaap.mr.client.MRConsumer;
+import static org.junit.Assert.assertNotNull;
public class MRSimplerBatchConsumerTest {
}
} catch (Exception e) {
System.err.println ( e.getClass().getName () + ": " + e.getMessage () );
- }
+ }
+ assertNotNull(cc);
}
import org.junit.Test;
import com.att.aft.dme2.api.util.DME2ExchangeResponseContext;
+import static org.junit.Assert.assertNotNull;
public class PreferredRouteReplyHandlerTest {
private PreferredRouteReplyHandler handler = null;
handler.handleReply(responseData);
assert(true);
+ assertNotNull(responseHeaders);
}