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(){