Class name corrected while retriving stream from json

Change-Id: I325bf61d001194953db137131c414bb877d8613b
diff --git a/core/common/src/test/java/org/onosproject/codec/impl/IntentCodecTest.java b/core/common/src/test/java/org/onosproject/codec/impl/IntentCodecTest.java
index 7cbce4d..2f93396 100644
--- a/core/common/src/test/java/org/onosproject/codec/impl/IntentCodecTest.java
+++ b/core/common/src/test/java/org/onosproject/codec/impl/IntentCodecTest.java
@@ -217,7 +217,7 @@
      * @throws IOException if processing the resource fails
      */
     private Intent getIntent(String resourceName, JsonCodec intentCodec) throws IOException {
-        InputStream jsonStream = FlowRuleCodecTest.class
+        InputStream jsonStream = IntentCodecTest.class
                 .getResourceAsStream(resourceName);
         JsonNode json = context.mapper().readTree(jsonStream);
         assertThat(json, notNullValue());
diff --git a/web/api/src/test/java/org/onosproject/rest/FlowsResourceTest.java b/web/api/src/test/java/org/onosproject/rest/FlowsResourceTest.java
index 4fb5821..8910e73 100644
--- a/web/api/src/test/java/org/onosproject/rest/FlowsResourceTest.java
+++ b/web/api/src/test/java/org/onosproject/rest/FlowsResourceTest.java
@@ -585,7 +585,7 @@
         replay(mockFlowService);
 
         WebResource rs = resource();
-        InputStream jsonStream = IntentsResourceTest.class
+        InputStream jsonStream = FlowsResourceTest.class
                 .getResourceAsStream("post-flow.json");
 
         ClientResponse response = rs.path("flows/of:0000000000000001")
diff --git a/web/api/src/test/java/org/onosproject/rest/HostResourceTest.java b/web/api/src/test/java/org/onosproject/rest/HostResourceTest.java
index 8c76540..5ac483d 100644
--- a/web/api/src/test/java/org/onosproject/rest/HostResourceTest.java
+++ b/web/api/src/test/java/org/onosproject/rest/HostResourceTest.java
@@ -375,7 +375,7 @@
 
         replay(mockHostService);
 
-        InputStream jsonStream = IntentsResourceTest.class
+        InputStream jsonStream = HostResourceTest.class
                 .getResourceAsStream("post-host.json");
         WebResource rs = resource();