File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
android/src/test/java/com/instabug/flutter/util Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,13 @@ public static void setUp() throws NoSuchMethodException {
57
57
Bitmap .class , String .class ))
58
58
.thenReturn (mReportScreenChange );
59
59
60
+ Method mReportCurrentViewChange = MockReflected .class .getDeclaredMethod ("reportCurrentViewChange" , String .class );
61
+ mReportCurrentViewChange .setAccessible (true );
62
+ reflection
63
+ .when (() -> Reflection .getMethod (Class .forName ("com.instabug.library.Instabug" ), "reportCurrentViewChange" ,
64
+ String .class ))
65
+ .thenReturn (mReportCurrentViewChange );
66
+
60
67
Method mSetCustomBrandingImage = MockReflected .class .getDeclaredMethod ("setCustomBrandingImage" , Bitmap .class , Bitmap .class );
61
68
mSetCustomBrandingImage .setAccessible (true );
62
69
reflection
You can’t perform that action at this time.
0 commit comments