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 {
5757 Bitmap .class , String .class ))
5858 .thenReturn (mReportScreenChange );
5959
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+
6067 Method mSetCustomBrandingImage = MockReflected .class .getDeclaredMethod ("setCustomBrandingImage" , Bitmap .class , Bitmap .class );
6168 mSetCustomBrandingImage .setAccessible (true );
6269 reflection
You can’t perform that action at this time.
0 commit comments