File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
src/test/java/com/uber/cadence/internal/sync Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,6 @@ public class TestActivityEnvironmentInternalTest {
4444
4545 private Object testActivityExecutor ;
4646
47- // Functional interfaces matching the exact method signatures
48- @ FunctionalInterface
49- interface Func <R > {
50- R get () throws Exception ; // Changed back to get() to match original signature
51- }
52-
53- @ FunctionalInterface
54- interface Func1 <T , R > {
55- R apply (T arg ) throws Exception ; // Kept as is
56- }
57-
5847 // Helper method to find the inner class
5948 private Class <?> findTestActivityExecutorClass () {
6049 for (Class <?> declaredClass : TestActivityEnvironmentInternal .class .getDeclaredClasses ()) {
@@ -75,7 +64,7 @@ private void printMethods(Class<?> clazz) {
7564
7665 @ Before
7766 public void setUp () {
78- MockitoAnnotations .initMocks (this );
67+ MockitoAnnotations .openMocks (this );
7968
8069 try {
8170 // Find the inner class first
You can’t perform that action at this time.
0 commit comments