package Ġlive . dit to . rx java 3 dit to Ċ Ċ import Ġandroidx . test . ext . junit . rules . activity Scenario Rule Ċ import Ġandroidx . test . ext . junit . runners . Android JUnit 4 Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠMainActivity Test Ġ{ ĊĊĠĠĠ Ġ@ get : Rule ĊĠĠĠ Ġval Ġrule Ġ= Ġactivity Scenario Rule < MainActivity >() ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtype AN umber _ result Is Displayed () Ġ{ ĊĠĠĠ Ġ} Ċ } Ċ