package Ġcom . z ach k li pp . compose . back stack . sample Ċ Ċ import Ġandroidx . compose . ui . test . assertIs Displayed Ċ import Ġandroidx . compose . ui . test . junit 4 . create Android Compose Rule Ċ import Ġandroidx . compose . ui . test . on Node With Text Ċ 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 ĠSample App Test Ġ{ ĊĊĠ Ġ@ get : Rule ĊĠ Ġval Ġcompose Ġ= Ġcreate Android Compose Rule < Compose Back stack Activity >() ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġla unches () Ġ{ ĊĠĠĠ Ġcompose . on Node With Text (" Slow Ġanimations ", Ġsubstring Ġ= Ġtrue ) ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġshows Counter () Ġ{ ĊĠĠĠ Ġcompose . on Node With Text (" Counter :", Ġsubstring Ġ= Ġtrue ). assertIs Displayed () ĊĠ Ġ} Ċ } Ċ