Revert^2 "Introduce AppFunctionManagerApi to make unit test easy"

This reverts commit 7b5d8b0870debefa0b48f7471db52a7db57cb2d0.

Reason for revert: Should be unblocked by aosp/3534488.

Change-Id: Icaa83a0206ef66b96d4ebc531de62994790bd98b
diff --git a/appfunctions/appfunctions-runtime/build.gradle b/appfunctions/appfunctions-runtime/build.gradle
index 4038665..5856f6521 100644
--- a/appfunctions/appfunctions-runtime/build.gradle
+++ b/appfunctions/appfunctions-runtime/build.gradle
@@ -48,7 +48,12 @@
     // Test dependencies
     testImplementation(libs.junit)
     testImplementation(libs.truth)
-    testImplementation(libs.mockitoCore4)
+    testImplementation(libs.kotlinCoroutinesTest)
+    testImplementation(libs.testRunner)
+    testImplementation(project(":appfunctions:appfunctions-stubs"))
+    testImplementation(libs.mockitoCore)
+    testImplementation(libs.testCore)
+    testImplementation(libs.robolectric)
 
     androidTestCompileOnly(project(":appfunctions:appfunctions-stubs"))
     androidTestImplementation("androidx.appsearch:appsearch:1.1.0-beta01")