package Ġcom . de warder . ak om mon s . binding . string Ċ Ċ import Ġandroid . support . test . rule . Activity Test Rule Ċ import Ġcom . de warder . ak om mon s . binding . Test Activity Ċ import Ġcom . de warder . ak om mon s . binding . common . string . Base String Test Ċ import Ġcom . de warder . ak om mon s . binding . common . string . Test able String Ċ import Ġorg . junit . Rule Ċ Ċ class ĠContext Provider String Test Ġ: ĠBase String Test () Ġ{ ĊĊĠĠĠ Ġclass ĠActivity Ġ: ĠTest Activity () Ġ{ ĊĠĠĠĠĠĠĠ Ġoverride Ġfun Ġinit Context Provider () Ġ= ĠTest String Context Provider ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ get : Rule ĊĠĠĠ Ġval Ġactivity Rule Ġ= ĠActivity Test Rule < Activity >( Activity :: class . java ) ĊĊĠĠĠ Ġoverride Ġfun Ġget Test able String (): ĠTest able String ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= Ġactivity Rule . activity . getContext Provider () Ċ }