Merge "Fix build"
diff --git a/BUCK b/BUCK
index a93fedd..880eea9 100644
--- a/BUCK
+++ b/BUCK
@@ -33,7 +33,6 @@
     excludes = TEST_UTIL_SRC
   ),
   labels = ['its-base'],
-  source_under_test = [':its-base__plugin'],
   deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
     ':its-base__plugin',
     ':its-base_tests-utils',
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/base/testutil/MockingTestCase.java b/src/test/java/com/googlesource/gerrit/plugins/its/base/testutil/MockingTestCase.java
index dbb3d06..ccf9991 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/its/base/testutil/MockingTestCase.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/its/base/testutil/MockingTestCase.java
@@ -158,6 +158,6 @@
    * @return The created Capture.
    */
   protected final <T> Capture<T> createCapture() {
-    return EasyMock.newCapture();
+    return new Capture();
   }
 }