package Ġorg . smart register . un ice ft un is ia . reporting . ann ual . coverage Ċ Ċ import Ġandroid . widget . Image Button Ċ import Ġorg . junit . After Ċ import Ġorg . junit . Assert . assertTrue Ċ import Ġorg . junit . Before Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . ro bo lectric . Ro bo lectric Ċ import Ġorg . ro bo lectric . Ro bo lectric TestRunner Ċ import Ġorg . ro bo lectric . annotation . Config Ċ import Ġorg . smart register . un ice ft un is ia . R Ċ import Ġorg . smart register . un ice ft un is ia . Test Un ice f T un is ia Application Ċ import Ġorg . smart register . un ice ft un is ia . reporting . ann ual . Annual Report Activity Ċ Ċ @ RunWith ( Ro bo lectric TestRunner :: class ) Ċ @ Config ( application Ġ= ĠTest Un ice f T un is ia Application :: class ) Ċ class ĠAnn ual Coverage Fragment Test Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġannual Report Activity Controller Ġ= ĠRo bo lectric . build Activity ( Annual Report Activity :: class . java ) ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġannual Report Activity : ĠAnn ual Report Activity ĊĊĠĠĠ Ġ@ Before ĊĠĠĠ Ġfun Ġ` Before Ġevery Ġtest `() Ġ{ ĊĠĠĠĠĠĠĠ Ġannual Report Activity Ġ= Ġannual Report Activity Controller . get () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` Should Ġstart Ġannual Ġreport Ġactivity `() Ġ{ ĊĠĠĠĠĠĠĠ Ġannual Report Activity Controller . create () ĊĠĠĠĠĠĠĠ Ġannual Report Activity . findViewById < Image Button >( R . id . back Button ). perform Click () ĊĠĠĠĠĠĠĠ ĠassertTrue ( ann ual Report Activity . is Finish ing ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ After ĊĠĠĠ Ġfun Ġ` After Ġevery Ġtest `() Ġ{ ĊĠĠĠĠĠĠĠ Ġannual Report Activity Controller . destroy () ĊĠĠĠ Ġ} Ċ }