package Ġcom . av ito . android . ui . test Ċ Ċ import Ġandroidx . test . espress o . matcher . View Matchers . with Id Ċ import Ġcom . av ito . android . test . page _ object . AppBar Element Ċ import Ġcom . av ito . android . test . page _ object . Page Object Ċ import Ġcom . av ito . android . test . page _ object . View Element Ċ import Ġcom . av ito . android . ui . R Ċ Ċ class ĠApp Bar Screen Ġ: ĠPage Object () Ġ{ ĊĠĠĠ Ġval Ġapp Bar : ĠApp Bar Element Ġ= Ġelement ( with Id ( R . id . app bar )) ĊĠĠĠ Ġval Ġtest View : ĠView Element Ġ= Ġelement ( with Id ( R . id . view _ in _ coll ap sing _ toolbar )) Ċ } Ċ