b1c7e1599f2e8904c74142a9972e3aab7f63c7a9
[dmaap/messagerouter/dmaapclient.git] / src / test / java / org / onap / dmaap / mr / dme / client / DefaultLoggingFailoverFaultHandlerTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP Policy Engine
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.dmaap.mr.dme.client;
22
23 import static org.junit.Assert.assertTrue;
24
25 import java.lang.reflect.Constructor;
26 import java.lang.reflect.InvocationTargetException;
27 import java.lang.reflect.Method;
28 import java.util.ArrayList;
29 import java.util.concurrent.TimeUnit;
30
31 import org.junit.After;
32 import org.junit.Before;
33 import org.junit.Test;
34
35 import org.onap.dmaap.mr.client.HostSelector;
36 import org.onap.dmaap.mr.client.MRPublisher.message;
37 import org.onap.dmaap.mr.test.support.MRBatchingPublisherMock.Listener;
38
39 public class DefaultLoggingFailoverFaultHandlerTest {
40         private DefaultLoggingFailoverFaultHandler handler = null;
41
42         @Before
43         public void setUp() throws Exception {
44                 handler = new DefaultLoggingFailoverFaultHandler();
45
46         }
47
48         @After
49         public void tearDown() throws Exception {
50
51         }
52
53         @Test
54         public void testHandleEndpointFailover() {
55
56         /*      handler.handleEndpointFailover(null);
57                 assertTrue(true);*/
58
59         }
60         
61         @Test
62         public void testHandleRouteOfferFailover() {
63
64         /*      handler.handleRouteOfferFailover(null);
65                 assertTrue(true);
66 */
67         }
68
69 }