Add revision http(d) test to CookbookIT for further example purposes

Depends on gerrit-acceptance-framework change id I78bda7.

Change-Id: I3a1973f87cab38d5bd6bf8f9e09f763753e7b1d9
diff --git a/src/test/java/com/googlesource/gerrit/plugins/cookbook/CookbookIT.java b/src/test/java/com/googlesource/gerrit/plugins/cookbook/CookbookIT.java
index 4c5bf0e..0d985c5 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/cookbook/CookbookIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/cookbook/CookbookIT.java
@@ -16,12 +16,11 @@
 
 import static com.google.common.truth.Truth.assertThat;
 
-import com.google.gerrit.acceptance.NoHttpd;
 import com.google.gerrit.acceptance.PluginDaemonTest;
+import com.google.gerrit.acceptance.RestResponse;
 
 import org.junit.Test;
 
-@NoHttpd
 public class CookbookIT extends PluginDaemonTest {
 
   @Test
@@ -29,4 +28,13 @@
     assertThat(sshSession.exec("cookbook print")).isEqualTo("Hello world!\n");
     assertThat(sshSession.hasError()).isFalse();
   }
+
+  @Test
+  public void revisionTest() throws Exception {
+    createChange();
+    RestResponse response =
+        adminSession.post("/changes/1/revisions/1/cookbook~hello-revision");
+    assertThat(response.getEntityContent())
+        .contains("Hello admin from change 1, patch set 1!");
+  }
 }