update the testcases after the kafka 11 changes
[dmaap/messagerouter/msgrtr.git] / src / test / java / com / att / nsa / cambria / resources / CambriaEventSetTest.java
index bff1179..b9fa1e5 100644 (file)
@@ -30,7 +30,9 @@ import org.junit.After;
 import org.junit.Before;\r
 import org.junit.Test;\r
 \r
-import com.att.nsa.cambria.CambriaApiException;\r
+import com.att.dmf.mr.CambriaApiException;\r
+import com.att.dmf.mr.resources.CambriaEventSet;\r
+import com.att.dmf.mr.resources.CambriaOutboundEventStream;\r
 \r
 \r
 public class CambriaEventSetTest {\r
@@ -54,14 +56,14 @@ public class CambriaEventSetTest {
                InputStream stream = new ByteArrayInputStream(str.getBytes());\r
                try {\r
                        event = new CambriaEventSet("application/cambria", stream, true, "hi");\r
-               } catch (CambriaApiException e) {\r
+               } catch (Exception e) {\r
                        // TODO Auto-generated catch block\r
                        e.printStackTrace();\r
                }\r
                \r
                try {\r
                        event.next();\r
-               } catch (CambriaApiException | IOException e) {\r
+               } catch (Exception e) {\r
                        // TODO Auto-generated catch block\r
                        e.printStackTrace();\r
                }\r