Hi,
Could anyone let me know the cause of this issue while running unit test cases
java.lang.AssertionError
at org.chromium.base.ContextUtils.initApplicationContext(ContextUtils.java:67)
at com.access_company.nfbe.content_shell_apk.ContentShellInit.init(ContentShellInit.java:20)
at com.access_company.nfbe.content_shell_apk.ContentShellApplication.attachBaseContext(ContentShellApplication.java:19)
at android.app.Application.attach(Application.java:189)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.robolectric.util.ReflectionHelpers.callInstanceMethod(ReflectionHelpers.java:294)
at org.robolectric.shadows.ShadowApplication.callAttach(ShadowApplication.java:84)
at org.robolectric.android.internal.AndroidTestEnvironment.installAndCreateApplication(AndroidTestEnvironment.java:341)
at org.robolectric.android.internal.AndroidTestEnvironment.lambda$createApplicationSupplier$0(AndroidTestEnvironment.java:245)
at org.robolectric.util.PerfStatsCollector.measure(PerfStatsCollector.java:53)
at org.robolectric.android.internal.AndroidTestEnvironment.lambda$createApplicationSupplier$1(AndroidTestEnvironment.java:242)
at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
at org.robolectric.RuntimeEnvironment.getApplication(RuntimeEnvironment.java:72)
at org.robolectric.android.internal.AndroidTestEnvironment.setUpApplicationState(AndroidTestEnvironment.java:210)
at org.robolectric.RobolectricTestRunner.beforeTest(RobolectricTestRunner.java:331)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:278)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)