diff --git a/app/src/androidTest/java/com/emarsys/mobileengage/sample/MainActivityUITest.java b/app/src/androidTest/java/com/emarsys/mobileengage/sample/MainActivityUITest.java index 443aa5f..0f3400d 100644 --- a/app/src/androidTest/java/com/emarsys/mobileengage/sample/MainActivityUITest.java +++ b/app/src/androidTest/java/com/emarsys/mobileengage/sample/MainActivityUITest.java @@ -32,7 +32,7 @@ public class MainActivityUITest { public TestRule timeout = TimeoutUtils.getTimeoutRule(); @Rule - public ActivityTestRule mActivityRule = new ActivityTestRule(MainActivity.class); + public ActivityTestRule mActivityRule = new ActivityTestRule<>(MainActivity.class); @BeforeClass public static void beforeAll() {