+ @Test
+ public void test3a() {
+ Topic topic = new Topic();
+ ApiError err = new ApiError();
+ topic.setTopicName( "test3" );
+ topic.setFqtnStyle( FqtnType.Validator("none") );
+ topic.getFqtn();
+ String t = "org.onap.dmaap.interestingTopic";
+ String f = "mrc.onap.org:3904/events/org.onap.dmaap.interestingTopic";
+ String c = "publisher";
+ String[] a = { "sub", "view" };
+ MR_Client sub = new MR_Client( locname, f, c, a );
+ String[] b = { "pub", "view" };
+ MR_Client pub = new MR_Client( "edge", f, c, b );
+ ArrayList<MR_Client> clients = new ArrayList<MR_Client>();
+
+ clients.add( sub );
+ clients.add( pub );
+
+ topic.setClients( clients );
+
+ ts.reviewTopic( topic );
+ ts.checkForBridge( topic, err );
+
+ Topic nTopic = ts.addTopic( topic, err );
+ if ( nTopic != null ) {
+ assertTrue( nTopic.getTopicName().equals( topic.getTopicName() ));
+ }
+
+
+ ts.removeTopic( "test3", err );
+ }
+