package Ġcom . safe chat . conversation Ċ Ċ import Ġandroid . support . test . Instrumentation Registry Ċ import Ġcom . safe chat . conversation . Conversation Activity . Companion . activity Intent Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ import Ġorg . mockito . Mockito Ċ Ċ class ĠCon versation Activity Test Ġ{ ĊĊĠĠĠ Ġval Ġcontroller Ġ= ĠMockito . mock ( Conversation Controller :: class . java ) ĊĊĠĠĠ Ġ@ Jvm Field Ġ@ Rule ĊĠĠĠ Ġval Ġrule Ġ= Ġactivity Rule < Conversation Activity >( activity Intent ( Instrumentation Registry . get Instrumentation (). target Context , Ġ" other PublicKey ")) Ġ{ ĊĠĠĠĠĠĠĠ ĠCon versation Activity . conversation Controller Provider Ġ= Ġ{ Ġcontroller Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Start Activity () Ġ{ ĊĠĠĠ Ġ} Ċ }