package Ġcom . kotlin . tod olist . activities ĊĊ Ċ 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 .* Ċ import Ġandroid . support . test . rule . Activity Test Rule Ċ import Ġandroid . support . test . runner . Android JUnit 4 Ċ import Ġandroid . test . suite builder . annotation . Large Test Ċ import Ġcom . kotlin . tod olist . R Ċ import Ġorg . hamcrest . Matchers . all Of Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ Ċ @ Large Test Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠDo Nothing Test Ġ{ ĊĊĠĠĠ Ġ@ Rule ĊĠĠĠ Ġvar Ġactivity Test Rule Ġ= ĠActivity Test Rule ( MainActivity :: class . java ) ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġdo Nothing Test () Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġaction MenuItem View Ġ= Ġon View ( all Of ( with Id ( R . id . action _ new _ task ), Ġwith Content Description (" New ĠTask "), Ġis Displayed ())) ĊĠĠĠĠĠĠĠ Ġaction MenuItem View . perform ( click ()) ĊĊĠĠĠĠĠĠĠ Ġval Ġmaterial EditText Ġ= Ġon View ( all Of ( with Id ( R . id . task Title EditText ), Ġis Displayed ())) ĊĠĠĠĠĠĠĠ Ġmaterial EditText . perform ( click ()) ĊĊĠĠĠĠĠĠĠ Ġval Ġimage Button Ġ= Ġon View ( all Of ( with Content Description (" Navigate Ġup "), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġwith Parent ( all Of ( with Id ( R . id . action _ bar ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġwith Parent ( with Id ( R . id . action _ bar _ container )))), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġis Displayed ())) ĊĠĠĠĠĠĠĠ Ġimage Button . perform ( click ()) ĊĊĠĠĠ Ġ} Ċ Ċ } Ċ