package Ġcom . r ining an . wow mount . presentation Ċ Ċ import Ġandroid . support . test . espress o . Esp ress o . on View Ċ import Ġandroid . support . test . espress o . action . View Actions . click Ċ import Ġandroid . support . test . espress o . matcher . View Matchers . with Content Description Ċ import Ġandroid . support . test . runner . Android JUnit 4 Ċ import Ġcom . r ining an . wow mount . R Ċ import Ġcom . r ining an . wow mount . presentation . ui . about . About Fragment Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith ĊĊ Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠAbout Fragment Test Ġ: ĠBaseTest () Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcheck Layout () Ġ{ ĊĠĠĠĠĠĠĠ Ġm App Rule . getMock ed DI (). set Authorized () ĊĊĠĠĠĠĠĠĠ Ġm App Rule . launch ( About Fragment :: class . java ) ĊĊĠĠĠĠĠĠĠ Ġwait Check Fragment Is Displayed ( R . id . ll About ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġback Click () Ġ{ ĊĠĠĠĠĠĠĠ Ġm App Rule . getMock ed DI (). set Authorized () ĊĊĠĠĠĠĠĠĠ Ġm App Rule . launch ( About Fragment :: class . java ) ĊĊĠĠĠĠĠĠĠ Ġwait Check Fragment Is Displayed ( R . id . ll About ) ĊĠĠĠĠĠĠĠ Ġon View ( with Content Description ( R . string . about _ back )). perform ( click ()) ĊĠĠĠĠĠĠĠ Ġwait Check Exit () ĊĠĠĠ Ġ} Ċ }