Fix typo in RegionsResourceTest
Change-Id: I486af535e57876b63854c5d11cb754ec3bb0c989
diff --git a/web/api/src/test/java/org/onosproject/rest/RegionsResourceTest.java b/web/api/src/test/java/org/onosproject/rest/RegionsResourceTest.java
index 620251d..c13956a 100644
--- a/web/api/src/test/java/org/onosproject/rest/RegionsResourceTest.java
+++ b/web/api/src/test/java/org/onosproject/rest/RegionsResourceTest.java
@@ -142,8 +142,8 @@
}
/**
- * Hamcrest matcher to check that a meter representation in JSON matches
- * the actual meter.
+ * Hamcrest matcher to check that a region representation in JSON matches
+ * the actual region.
*/
public static class RegionJsonMatcher extends TypeSafeMatcher<JsonObject> {
private final Region region;
@@ -342,7 +342,7 @@
replay(mockRegionAdminService);
WebResource rs = resource();
- InputStream jsonStream = MetersResourceTest.class
+ InputStream jsonStream = RegionsResourceTest.class
.getResourceAsStream("post-region.json");
ClientResponse response = rs.path("regions")
@@ -364,7 +364,7 @@
replay(mockRegionAdminService);
WebResource rs = resource();
- InputStream jsonStream = MetersResourceTest.class
+ InputStream jsonStream = RegionsResourceTest.class
.getResourceAsStream("post-region.json");
ClientResponse response = rs.path("regions/" + region1.id().toString())
@@ -434,7 +434,7 @@
replay(mockRegionAdminService);
WebResource rs = resource();
- InputStream jsonStream = MetersResourceTest.class
+ InputStream jsonStream = RegionsResourceTest.class
.getResourceAsStream("region-deviceIds.json");
ClientResponse response = rs.path("regions/" +
@@ -456,7 +456,7 @@
replay(mockRegionAdminService);
WebResource rs = resource();
- InputStream jsonStream = MetersResourceTest.class
+ InputStream jsonStream = RegionsResourceTest.class
.getResourceAsStream("region-deviceIds.json");
ClientResponse response = rs.path("regions/" +