package Ġcom . jr ask a . d agger . code lab . config . test Ċ Ċ import Ġandroidx . test . espress o . Esp ress o . on View Ċ 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 . rule . Activity Test Rule Ċ import Ġcom . jr ask a . d agger . code lab . config . ui . Config Activity Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ Ċ class ĠConfig Test Ġ{ ĊĠ Ġ@ get : Rule ĊĠ Ġval Ġactivity Rule Ġ= ĠActivity Test Rule ( Config Activity :: class . java ) ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġdisplays Pro per ly () Ġ{ ĊĠĠĠ Ġon View ( with Text (" bye _ button ")). check ( matches ( is Displayed ())) ĊĠ Ġ} Ċ } Ċ