package Ġio . github . dl le w el lyn . saf et or un . features . debug Ċ Ċ import Ġandroid . content . Context Ċ import Ġio . github . dl le w el lyn . saf et or un . features . debug . Android Debug gable Strings Sample . DEBUG G ABLE Ċ import Ġio . github . dl le w el lyn . saf et or un . features . debug . Android Debug gable Strings Sample . DEBUG GER _ ATTACH ED Ċ import Ġio . github . dl le w el lyn . saf et or un . features . debug . Android Debug gable Strings Sample . DEBUG GER _ NOT _ ATTACH ED Ċ import Ġio . github . dl le w el lyn . saf et or un . features . debug . Android Debug gable Strings Sample . NOT _ DEBUG G ABLE Ċ import Ġio . github . dl le w el lyn . saf et or un . features . debug . Android Debug gable Strings Sample . setup AM ock Resources Ċ import Ġcom . google . common . truth . Truth . assertThat Ċ import Ġio . mock k . every Ċ import Ġio . mock k . mock k Ċ import Ġjunit . framework . TestCase Ċ Ċ internal Ġclass ĠAndroid Debug gable Strings Test Ġ: ĠTestCase () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġcontext Ġ= Ġmock k < Context >() ĊĊĠĠĠ Ġoverride Ġfun ĠsetUp () Ġ{ ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġcontext . resources Ġ} Ġreturns Ġsetup AM ock Resources () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġ` test Ġmessages Ġare Ġas Ġexpected `() Ġ{ ĊĠĠĠĠĠĠĠ Ġwith ( Android Debug gable Strings ( context )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( app Is Debug gable Message ()). isEqualTo ( DEBUG G ABLE ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( app IsNot Debug gable Message ()). isEqualTo ( NOT _ DEBUG G ABLE ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( debugger Attached Message ()). isEqualTo ( DEBUG GER _ ATTACH ED ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( debugger Not Attached Message ()). isEqualTo ( DEBUG GER _ NOT _ ATTACH ED ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ