package Ġcom . squareup . sample . r aven app Ċ Ċ import Ġandroidx . test . espress o . assertion . View Assertions . matches Ċ import Ġandroidx . test . espress o . matcher . View Matchers . is Displayed Ċ import Ġandroidx . test . espress o . matcher . View Matchers . with Text Ċ import Ġandroidx . test . ext . junit . rules . Activity Scenario Rule Ċ import Ġandroidx . test . ext . junit . runners . Android JUnit 4 Ċ import Ġcom . squareup . workflow 1 . ui . internal . test . in Any View Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠR aven App Test Ġ{ ĊĊĠ Ġ@ Rule Ġ@ Jvm Field Ġval Ġscenario Rule Ġ= ĠActivity Scenario Rule ( R aven Activity :: class . java ) ĊĊĠ Ġ@ Test Ġfun Ġla unches () Ġ{ ĊĠĠĠ Ġin Any View ( with Text (" The ĠR aven ")) ĊĠĠĠĠĠĠĠ Ġ. check ( matches ( is Displayed ())) ĊĠ Ġ} Ċ } Ċ