package Ġorg . b spb . smart bir ds . pro . tools . robot Ċ Ċ import Ġandroidx . test . espress o . Esp ress o . on View Ċ import Ġandroidx . test . espress o . View Interaction Ċ import Ġandroidx . test . espress o . assertion . View Assertions . matches Ċ import Ġandroidx . test . espress o . matcher . View Matchers Ċ import Ġandroidx . test . espress o . matcher . View Matchers . with Hint Ċ import Ġandroidx . test . espress o . matcher . View Matchers . with Id Ċ import Ġorg . b spb . smart bir ds . pro . R Ċ import Ġorg . b spb . smart bir ds . pro . tools . toolbar With Title Ċ Ċ @ Test Robot Marker Ċ private Ġinterface ĠCommon Form Robot Ċ Ċ class ĠCommon Form Test Robot Ġ: ĠCommon Form Robot Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġfun Ġcommon Form Screen ( block : ĠCommon Form Test Robot . () Ġ-> ĠUnit ): ĠCommon Form Test Robot Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠCommon Form Test Robot (). apply ( block ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġis Displayed (): ĠView Interaction Ġ= ĊĠĠĠĠĠĠĠ Ġtoolbar With Title ( R . string . title _ activity _ start _ monitoring ). check ( matches ( View Matchers . is Displayed ())) ĊĊĠĠĠ Ġfun Ġfield Source (): ĠView Interaction Ġ= Ġon View ( with Hint ( R . string . monitoring _ common _ source )) ĊĠĠĠ Ġfun Ġbutton Submit (): ĠView Interaction Ġ= Ġon View ( with Id ( R . id . action _ submit )) ĊĊĠĠĠ Ġfun Ġbutton Finish (): ĠView Interaction Ġ= ĊĠĠĠĠĠĠĠ Ġon View ( View Matchers . with Text ( R . string . menu _ monitoring _ finish )) ĊĊĠĠĠ Ġfun Ġfield Observation Method ology (): ĠView Interaction Ġ= ĊĠĠĠĠĠĠĠ Ġon View ( with Hint ( R . string . monitoring _ common _ observation _ method ology )) Ċ }